From df62d93a7bc5c22d44091c234dd6db1f8dfda76e Mon Sep 17 00:00:00 2001 From: Jean-Baptiste G Date: Mon, 1 Aug 2022 13:59:11 +0200 Subject: [PATCH] devshell: remove non-derivation from packages list add missing binutils. (#1571) --- lib/project-overlays.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/project-overlays.nix b/lib/project-overlays.nix index 4d45763b..98a946bd 100644 --- a/lib/project-overlays.nix +++ b/lib/project-overlays.nix @@ -11,8 +11,8 @@ # devshell does not use pkgs.mkShell / pkgs.stdenv.mkDerivation, # so we need to explicit required dependencies which # are provided implicitely by stdenv when using the normal shell: - ++ final.shell.stdenv.defaultNativeBuildInputs - ++ final.shell.stdenv.extraNativeBuildInputs; + ++ (lib.filter lib.isDerivation final.shell.stdenv.defaultNativeBuildInputs) + ++ [ final.pkgs.buildPackages.binutils ]; env = lib.mapAttrsToList lib.nameValuePair { inherit (final.shell) CABAL_CONFIG NIX_GHC_LIBDIR; };