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