Skip to content

Commit df62d93

Browse files
authored
devshell: remove non-derivation from packages list add missing binutils. (#1571)
1 parent ce04788 commit df62d93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/project-overlays.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
# devshell does not use pkgs.mkShell / pkgs.stdenv.mkDerivation,
1212
# so we need to explicit required dependencies which
1313
# are provided implicitely by stdenv when using the normal shell:
14-
++ final.shell.stdenv.defaultNativeBuildInputs
15-
++ final.shell.stdenv.extraNativeBuildInputs;
14+
++ (lib.filter lib.isDerivation final.shell.stdenv.defaultNativeBuildInputs)
15+
++ [ final.pkgs.buildPackages.binutils ];
1616
env = lib.mapAttrsToList lib.nameValuePair {
1717
inherit (final.shell) CABAL_CONFIG NIX_GHC_LIBDIR;
1818
};

0 commit comments

Comments
 (0)