fix devshell on darwin
This commit is contained in:
parent
97d2c2d623
commit
c158642647
10
shell.nix
10
shell.nix
|
@ -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() (
|
||||||
|
|
Loading…
Reference in a new issue