forked from lix-project/lix
Prevent nix-build from accepting --packages
This commit is contained in:
parent
f63839bfa4
commit
e4f6f8da77
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ static void _main(int argc, char * * argv)
|
|||
else if (*arg == "--pure") pure = true;
|
||||
else if (*arg == "--impure") pure = false;
|
||||
|
||||
else if (*arg == "--packages" || *arg == "-p")
|
||||
else if (runEnv && (*arg == "--packages" || *arg == "-p"))
|
||||
packages = true;
|
||||
|
||||
else if (inShebang && *arg == "-i") {
|
||||
|
|
Loading…
Reference in a new issue