forked from lix-project/lix
nix-shell: Don't disable Automake dependency tracking
Nixpkgs' stdenv disables dependency tracking by default. That makes sense for one-time builds, but in an interactive environment we expect repeated "make" invocations to do the right thing.
This commit is contained in:
parent
7df4ef983e
commit
511455965e
|
@ -198,7 +198,8 @@ foreach my $expr (@exprs) {
|
||||||
writeFile(
|
writeFile(
|
||||||
$rcfile,
|
$rcfile,
|
||||||
'[ -e ~/.bashrc ] && source ~/.bashrc; ' .
|
'[ -e ~/.bashrc ] && source ~/.bashrc; ' .
|
||||||
($pure ? '' : 'p=$PATH; ' ).
|
($pure ? '' : 'p=$PATH; ' ) .
|
||||||
|
'dontAddDisableDepTrack=1; ' .
|
||||||
'[ -e $stdenv/setup ] && source $stdenv/setup; ' .
|
'[ -e $stdenv/setup ] && source $stdenv/setup; ' .
|
||||||
($pure ? '' : 'PATH=$PATH:$p; ') .
|
($pure ? '' : 'PATH=$PATH:$p; ') .
|
||||||
'set +e; ' .
|
'set +e; ' .
|
||||||
|
|
Loading…
Reference in a new issue