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:
Eelco Dolstra 2013-07-31 13:17:50 +02:00
parent 7df4ef983e
commit 511455965e

View file

@ -198,7 +198,8 @@ foreach my $expr (@exprs) {
writeFile(
$rcfile,
'[ -e ~/.bashrc ] && source ~/.bashrc; ' .
($pure ? '' : 'p=$PATH; ' ).
($pure ? '' : 'p=$PATH; ' ) .
'dontAddDisableDepTrack=1; ' .
'[ -e $stdenv/setup ] && source $stdenv/setup; ' .
($pure ? '' : 'PATH=$PATH:$p; ') .
'set +e; ' .