mirror of
https://github.com/ilyakooo0/haskell.nix.git
synced 2024-09-11 06:55:40 +03:00
devshell: remove non-derivation from packages list add missing binutils. (#1571)
This commit is contained in:
parent
ce047883ac
commit
df62d93a7b
@ -11,8 +11,8 @@
|
|||||||
# devshell does not use pkgs.mkShell / pkgs.stdenv.mkDerivation,
|
# devshell does not use pkgs.mkShell / pkgs.stdenv.mkDerivation,
|
||||||
# so we need to explicit required dependencies which
|
# so we need to explicit required dependencies which
|
||||||
# are provided implicitely by stdenv when using the normal shell:
|
# are provided implicitely by stdenv when using the normal shell:
|
||||||
++ final.shell.stdenv.defaultNativeBuildInputs
|
++ (lib.filter lib.isDerivation final.shell.stdenv.defaultNativeBuildInputs)
|
||||||
++ final.shell.stdenv.extraNativeBuildInputs;
|
++ [ final.pkgs.buildPackages.binutils ];
|
||||||
env = lib.mapAttrsToList lib.nameValuePair {
|
env = lib.mapAttrsToList lib.nameValuePair {
|
||||||
inherit (final.shell) CABAL_CONFIG NIX_GHC_LIBDIR;
|
inherit (final.shell) CABAL_CONFIG NIX_GHC_LIBDIR;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user