nix-shell: Add --impure flag

This is currently the default, but I might change that to --pure in
the future.
This commit is contained in:
Eelco Dolstra 2014-01-23 13:33:00 +01:00
parent 79dee4283d
commit c5ba081333
1 changed files with 2 additions and 3 deletions

View File

@ -137,9 +137,8 @@ for (my $n = 0; $n < scalar @ARGV; $n++) {
push @envExclude, $ARGV[$n];
}
elsif ($arg eq "--pure") {
$pure = 1;
}
elsif ($arg eq "--pure") { $pure = 1; }
elsif ($arg eq "--impure") { $pure = 0; }
elsif (substr($arg, 0, 1) eq "-") {
push @buildArgs, $arg;