bash: provide a working binutils

Why does bash need binutils at all? What's wrong with stdenv?

This avoids a broken ld wrapper, since binutils is binutils wrapped
for linux, even though it's only required on darwin.

+8 -2
+8 -2
pkgs/top-level/all-packages.nix
··· 9988 9989 any-nix-shell = callPackage ../shells/any-nix-shell { }; 9990 9991 - bash = lowPrio (callPackage ../shells/bash/4.4.nix { }); 9992 - bash_5 = lowPrio (callPackage ../shells/bash/5.1.nix { }); 9993 bashInteractive_5 = lowPrio (callPackage ../shells/bash/5.1.nix { 9994 interactive = true; 9995 withDocs = true; 9996 }); 9997 9998 # WARNING: this attribute is used by nix-shell so it shouldn't be removed/renamed 9999 bashInteractive = callPackage ../shells/bash/4.4.nix { 10000 interactive = true; 10001 withDocs = true; 10002 };
··· 9988 9989 any-nix-shell = callPackage ../shells/any-nix-shell { }; 9990 9991 + bash = lowPrio (callPackage ../shells/bash/4.4.nix { 9992 + binutils = stdenv.cc.bintools; 9993 + }); 9994 + bash_5 = lowPrio (callPackage ../shells/bash/5.1.nix { 9995 + binutils = stdenv.cc.bintools; 9996 + }); 9997 bashInteractive_5 = lowPrio (callPackage ../shells/bash/5.1.nix { 9998 + binutils = stdenv.cc.bintools; 9999 interactive = true; 10000 withDocs = true; 10001 }); 10002 10003 # WARNING: this attribute is used by nix-shell so it shouldn't be removed/renamed 10004 bashInteractive = callPackage ../shells/bash/4.4.nix { 10005 + binutils = stdenv.cc.bintools; 10006 interactive = true; 10007 withDocs = true; 10008 };