nix-build: Fix --hash

This commit is contained in:
Eelco Dolstra 2017-10-30 13:31:05 +01:00
parent 63c80ae26f
commit 12991152be
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE
1 changed files with 3 additions and 0 deletions

View File

@ -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;