Skip to content

Commit ee6a655

Browse files
authored
devshell: only provide binutils on gnu plateform (#1573)
1 parent 1ccfd29 commit ee6a655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/project-overlays.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# so we need to explicit required dependencies which
1313
# are provided implicitely by stdenv when using the normal shell:
1414
++ (lib.filter lib.isDerivation final.shell.stdenv.defaultNativeBuildInputs)
15-
++ [ final.pkgs.buildPackages.binutils ];
15+
++ lib.optional final.shell.stdenv.targetPlatform.isGnu 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)