devshell: remove non-derivation from packages list add missing binutils. (#1571)
commitdf62d93a7bc5c22d44091c234dd6db1f8dfda76e
authorJean-Baptiste G <jean-baptiste.giraudeau@iohk.io>
dateMon 1 Aug 2022, 13:59 (4 years ago)
parentce04788
lib/project-overlays.nix+2−2
@@ -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 };