summary refs log tree commit diff
path: root/pkgs/shells/bash
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-09-26 03:57:17 +0300
committerArtturin <Artturin@artturin.com>2023-09-26 04:05:52 +0300
commit6c73dc674663f21971d4aaf83cf18e906d3e57ca (patch)
tree420f734bbfbc6f651bbb513e4c28368c127e7149 /pkgs/shells/bash
parent99eb0f3469482c7a26b925e96d2a47914731193e (diff)
downloadnixpkgs-6c73dc674663f21971d4aaf83cf18e906d3e57ca.tar
nixpkgs-6c73dc674663f21971d4aaf83cf18e906d3e57ca.tar.gz
nixpkgs-6c73dc674663f21971d4aaf83cf18e906d3e57ca.tar.bz2
nixpkgs-6c73dc674663f21971d4aaf83cf18e906d3e57ca.tar.lz
nixpkgs-6c73dc674663f21971d4aaf83cf18e906d3e57ca.tar.xz
nixpkgs-6c73dc674663f21971d4aaf83cf18e906d3e57ca.tar.zst
nixpkgs-6c73dc674663f21971d4aaf83cf18e906d3e57ca.zip
bash: Remove unnecessary explicit passing of `binutils`
`binutils` for darwin was added in (add binutils to bash build for size)[9c153e2227d3c66c645718355b0ed381f664afa5].

The override was added in (bash: provide a working binutils)[9e05276949045b8620a0ebd7de3aa75bb6af21cc].
Diffstat (limited to 'pkgs/shells/bash')
-rw-r--r--pkgs/shells/bash/5.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/shells/bash/5.nix b/pkgs/shells/bash/5.nix
index 6b126390c9f..67abae3d239 100644
--- a/pkgs/shells/bash/5.nix
+++ b/pkgs/shells/bash/5.nix
@@ -2,7 +2,6 @@
 , stdenv
 , buildPackages
 , fetchurl
-, binutils
 , bison
 , util-linux
 
@@ -90,7 +89,7 @@ stdenv.mkDerivation rec {
   depsBuildBuild = [ buildPackages.stdenv.cc ];
   nativeBuildInputs = [ bison ]
     ++ lib.optional withDocs texinfo
-    ++ lib.optional stdenv.hostPlatform.isDarwin binutils;
+    ++ lib.optional stdenv.hostPlatform.isDarwin stdenv.cc.bintools;
 
   buildInputs = lib.optional interactive readline;