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
bash
nix-prefetch-git
rustPackages.cargo
rustPackages.clippy
rustPackages.rustfmt
rustc
cargo
clippy
rustfmt
pkg-config
git
];
buildInputs = with pkgs; [
openssl
]
++ lib.optional stdenv.isDarwin pkgs.darwin.Security;
] ++ lib.optionals stdenv.isDarwin [ darwin.Security libiconv ];
postHook = ''
checkPhase() (