about summary refs log tree commit diff
path: root/pkgs/shells/bash
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2017-06-25 23:10:03 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2017-12-30 22:04:21 -0500
commit5b74540c5be2ca4c47b61ef9d0776412266addeb (patch)
tree22d8dd57f45d6da911c4d46bda4b65d47ecd1eb7 /pkgs/shells/bash
parent3a50395ef226259694689da92b2fd636476abc67 (diff)
treewide: Use `depsBuildBuild` for buildPackges.stdenv.cc
Diffstat (limited to 'pkgs/shells/bash')
-rw-r--r--pkgs/shells/bash/4.4.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/shells/bash/4.4.nix b/pkgs/shells/bash/4.4.nix
index b4a2ba5538816..5635c6a73bedf 100644
--- a/pkgs/shells/bash/4.4.nix
+++ b/pkgs/shells/bash/4.4.nix
@@ -68,10 +68,10 @@ stdenv.mkDerivation rec {
   ];
 
   # Note: Bison is needed because the patches above modify parse.y.
+  depsBuildBuild = [ buildPackages.stdenv.cc ];
   nativeBuildInputs = [bison]
     ++ optional (texinfo != null) texinfo
-    ++ optional hostPlatform.isDarwin binutils
-    ++ optional (hostPlatform != buildPlatform) buildPackages.stdenv.cc;
+    ++ optional hostPlatform.isDarwin binutils;
 
   buildInputs = optional interactive readline70;