bash: enable strictDeps
This commit is contained in:
parent
ea79263e60
commit
4f180210a0
|
@ -71,6 +71,7 @@ stdenv.mkDerivation rec {
|
||||||
"--disable-nls"
|
"--disable-nls"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
strictDeps = true;
|
||||||
# Note: Bison is needed because the patches above modify parse.y.
|
# Note: Bison is needed because the patches above modify parse.y.
|
||||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||||
nativeBuildInputs = [ bison ]
|
nativeBuildInputs = [ bison ]
|
||||||
|
@ -98,7 +99,7 @@ stdenv.mkDerivation rec {
|
||||||
if interactive
|
if interactive
|
||||||
then ''
|
then ''
|
||||||
substituteInPlace "$out/bin/bashbug" \
|
substituteInPlace "$out/bin/bashbug" \
|
||||||
--replace '${stdenv.shell}' "$out/bin/bash"
|
--replace '#!/bin/sh' "#!$out/bin/bash"
|
||||||
''
|
''
|
||||||
# most space is taken by locale data
|
# most space is taken by locale data
|
||||||
else ''
|
else ''
|
||||||
|
|
Loading…
Reference in a new issue