From c1586426477e38b83590c1929474edd43a1cdea9 Mon Sep 17 00:00:00 2001 From: Winter Date: Sat, 8 Jan 2022 21:21:56 -0500 Subject: [PATCH] fix devshell on darwin --- shell.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/shell.nix b/shell.nix index badfdff..6dcb5c8 100644 --- a/shell.nix +++ b/shell.nix @@ -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() (