forked from lix-project/lix
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:
parent
79dee4283d
commit
c5ba081333
|
@ -137,9 +137,8 @@ for (my $n = 0; $n < scalar @ARGV; $n++) {
|
||||||
push @envExclude, $ARGV[$n];
|
push @envExclude, $ARGV[$n];
|
||||||
}
|
}
|
||||||
|
|
||||||
elsif ($arg eq "--pure") {
|
elsif ($arg eq "--pure") { $pure = 1; }
|
||||||
$pure = 1;
|
elsif ($arg eq "--impure") { $pure = 0; }
|
||||||
}
|
|
||||||
|
|
||||||
elsif (substr($arg, 0, 1) eq "-") {
|
elsif (substr($arg, 0, 1) eq "-") {
|
||||||
push @buildArgs, $arg;
|
push @buildArgs, $arg;
|
||||||
|
|
Loading…
Reference in a new issue