mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-11 06:55:40 +03:00
devshell: provide stdenv native deps (#1560)
should fix devshell for darwin, which should depends on clang and not gcc.
This commit is contained in:
parent
98b1edc73b
commit
7c0a91eab2
@ -10,8 +10,9 @@
|
||||
packages = final.shell.nativeBuildInputs
|
||||
# devshell does not use pkgs.mkShell / pkgs.stdenv.mkDerivation,
|
||||
# so we need to explicit required dependencies which
|
||||
# are provided implicitely when using the normal shell:
|
||||
++ (with final.pkgs; [ binutils git gcc glibc gawk gnugrep bash coreutils pkg-config ]);
|
||||
# are provided implicitely by stdenv when using the normal shell:
|
||||
++ final.shell.stdenv.defaultNativeBuildInputs
|
||||
++ final.shell.stdenv.extraNativeBuildInputs;
|
||||
env = lib.mapAttrsToList lib.nameValuePair {
|
||||
inherit (final.shell) CABAL_CONFIG NIX_GHC_LIBDIR;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user