fix devshell on darwin

This commit is contained in:
Winter Cute 2022-01-08 21:21:56 -05:00 committed by Cole Helbling
parent 97d2c2d623
commit c158642647

View file

@ -29,16 +29,16 @@ let
nix # so in --pure mode we actually find the "correct" nix nix # so in --pure mode we actually find the "correct" nix
bash bash
nix-prefetch-git nix-prefetch-git
rustPackages.cargo rustc
rustPackages.clippy cargo
rustPackages.rustfmt clippy
rustfmt
pkg-config pkg-config
git git
]; ];
buildInputs = with pkgs; [ buildInputs = with pkgs; [
openssl openssl
] ] ++ lib.optionals stdenv.isDarwin [ darwin.Security libiconv ];
++ lib.optional stdenv.isDarwin pkgs.darwin.Security;
postHook = '' postHook = ''
checkPhase() ( checkPhase() (