mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 05:56:15 +02:00
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
1 changed files with 2 additions and 3 deletions
|
@ -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