Add direnv and better support for Darwin

This commit is contained in:
Campbell Alden 2023-07-11 17:12:55 +09:00
parent 6ecc159b0c
commit c18cec94a1
2 changed files with 17 additions and 0 deletions

8
shell.nix Normal file
View file

@ -0,0 +1,8 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = [
pkgs.rustc
pkgs.cargo
] ++ [ pkgs.libiconv pkgs.darwin.apple_sdk.frameworks.CoreServices ];
}