Commit 9e052769 authored by Andrew Childs's avatar Andrew Childs
Browse files

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.
parent c696fcda
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -9988,15 +9988,21 @@ in
  any-nix-shell = callPackage ../shells/any-nix-shell { };
  bash = lowPrio (callPackage ../shells/bash/4.4.nix { });
  bash_5 = lowPrio (callPackage ../shells/bash/5.1.nix { });
  bash = lowPrio (callPackage ../shells/bash/4.4.nix {
    binutils = stdenv.cc.bintools;
  });
  bash_5 = lowPrio (callPackage ../shells/bash/5.1.nix {
    binutils = stdenv.cc.bintools;
  });
  bashInteractive_5 = lowPrio (callPackage ../shells/bash/5.1.nix {
    binutils = stdenv.cc.bintools;
    interactive = true;
    withDocs = true;
  });
  # WARNING: this attribute is used by nix-shell so it shouldn't be removed/renamed
  bashInteractive = callPackage ../shells/bash/4.4.nix {
    binutils = stdenv.cc.bintools;
    interactive = true;
    withDocs = true;
  };