Skip to content

Commit

Permalink
nix-build: Fix --hash
Browse files Browse the repository at this point in the history
  • Loading branch information
edolstra committed Oct 30, 2017
1 parent 63c80ae commit 1299115
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/nix-build/nix-build.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1299115

Please sign in to comment.