nix build: Add --out-link and --no-link options

This commit is contained in:
Eelco Dolstra 2017-09-06 16:20:34 +02:00
parent df4342bc17
commit dff440aab3
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE
4 changed files with 37 additions and 10 deletions

View file

@ -22,7 +22,7 @@ struct CmdCopy : StorePathsCommand
mkFlag()
.longName("no-check-sigs")
.description("do not require that paths are signed by trusted keys")
.handler([&](Strings ss) { checkSigs = NoCheckSigs; });
.set(&checkSigs, NoCheckSigs);
}
std::string name() override