diff options
Diffstat (limited to 'scripts/nix-build.in')
-rwxr-xr-x | scripts/nix-build.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in index 5745a1e06e48..5e988cc411f8 100755 --- a/scripts/nix-build.in +++ b/scripts/nix-build.in @@ -217,6 +217,8 @@ for (my $n = 0; $n < scalar @ARGV; $n++) { } } +die "$0: ‘-p’ and ‘-E’ are mutually exclusive\n" if $packages && $fromArgs; + if ($packages) { push @instArgs, "--expr"; @exprs = ( |