about summary refs log tree commit diff
path: root/scripts/nix-build.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/nix-build.in')
-rwxr-xr-xscripts/nix-build.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in
index c197dcca9a12..828eb1c3967c 100755
--- a/scripts/nix-build.in
+++ b/scripts/nix-build.in
@@ -121,6 +121,10 @@ for (my $n = 0; $n < scalar @ARGV; $n++) {
         push @instArgs, $arg;
     }
 
+    elsif ($arg eq "--check") {
+        push @buildArgs, $arg;
+    }
+
     elsif ($arg eq "--run-env") { # obsolete
         $runEnv = 1;
     }