diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-10-30 13:31:05 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-10-30 13:31:05 +0100 |
commit | 12991152be43f63634e48a7d118040e485125df4 (patch) | |
tree | 73e7adf5ab77f0e6849fbc0ec58670601862e783 /src | |
parent | 63c80ae26fcde8cc2e18a01e325ef214de084517 (diff) |
nix-build: Fix --hash
Diffstat (limited to 'src')
-rwxr-xr-x | src/nix-build/nix-build.cc | 3 |
1 files changed, 3 insertions, 0 deletions
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; |