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

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;