on iko/ghcjs-patch-master help sign in
devshell: provide stdenv native deps (#1560)

should fix devshell for darwin, which should depends on clang and not gcc.

commit7c0a91eab2c2ad2fe14451a4d11aab4bf2c550ae authorJean-Baptiste G <jean-baptiste.giraudeau@iohk.io> dateFri 29 Jul 2022, 01:26 (4 years ago) parent98b1edc
1 file changed+3−2
lib/project-overlays.nix+3−2
lib/project-overlays.nix+3−2
@@ -10,8 +10,9 @@
1010 packages = final.shell.nativeBuildInputs
1111 # devshell does not use pkgs.mkShell / pkgs.stdenv.mkDerivation,
1212 # so we need to explicit required dependencies which
13− # are provided implicitely when using the normal shell:
14− ++ (with final.pkgs; [ binutils git gcc glibc gawk gnugrep bash coreutils pkg-config ]);
13+ # are provided implicitely by stdenv when using the normal shell:
14+ ++ final.shell.stdenv.defaultNativeBuildInputs
15+ ++ final.shell.stdenv.extraNativeBuildInputs;
1516 env = lib.mapAttrsToList lib.nameValuePair {
1617 inherit (final.shell) CABAL_CONFIG NIX_GHC_LIBDIR;
1718 };