summary refs log tree commit diff
path: root/pkgs/shells/bash
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2022-05-06 22:44:36 +0300
committerArtturin <Artturin@artturin.com>2022-05-06 23:39:22 +0300
commit4f180210a094506ea9fa8f700012b993a7aed334 (patch)
treee962d16a2872bc6aacb60a168db2d7331564fe6f /pkgs/shells/bash
parentea79263e608224491030a0cdf27b9f11ecff2928 (diff)
downloadnixpkgs-4f180210a094506ea9fa8f700012b993a7aed334.tar
nixpkgs-4f180210a094506ea9fa8f700012b993a7aed334.tar.gz
nixpkgs-4f180210a094506ea9fa8f700012b993a7aed334.tar.bz2
nixpkgs-4f180210a094506ea9fa8f700012b993a7aed334.tar.lz
nixpkgs-4f180210a094506ea9fa8f700012b993a7aed334.tar.xz
nixpkgs-4f180210a094506ea9fa8f700012b993a7aed334.tar.zst
nixpkgs-4f180210a094506ea9fa8f700012b993a7aed334.zip
bash: enable strictDeps
Diffstat (limited to 'pkgs/shells/bash')
-rw-r--r--pkgs/shells/bash/5.1.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/shells/bash/5.1.nix b/pkgs/shells/bash/5.1.nix
index a30c9a4a507..7cd7fb6905c 100644
--- a/pkgs/shells/bash/5.1.nix
+++ b/pkgs/shells/bash/5.1.nix
@@ -71,6 +71,7 @@ stdenv.mkDerivation rec {
     "--disable-nls"
   ];
 
+  strictDeps = true;
   # Note: Bison is needed because the patches above modify parse.y.
   depsBuildBuild = [ buildPackages.stdenv.cc ];
   nativeBuildInputs = [ bison ]
@@ -98,7 +99,7 @@ stdenv.mkDerivation rec {
     if interactive
     then ''
       substituteInPlace "$out/bin/bashbug" \
-        --replace '${stdenv.shell}' "$out/bin/bash"
+        --replace '#!/bin/sh' "#!$out/bin/bash"
     ''
     # most space is taken by locale data
     else ''