From 12991152be43f63634e48a7d118040e485125df4 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 30 Oct 2017 13:31:05 +0100 Subject: [PATCH] nix-build: Fix --hash --- src/nix-build/nix-build.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/nix-build/nix-build.cc b/src/nix-build/nix-build.cc index 8e56e5a46..21b0a18dd 100755 --- a/src/nix-build/nix-build.cc +++ b/src/nix-build/nix-build.cc @@ -167,6 +167,9 @@ void mainWrapped(int argc, char * * argv) buildMode = bmRepair; } + else if (*arg == "--hash") + buildMode = bmHash; + else if (*arg == "--run-env") // obsolete runEnv = true;