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

@ -41,7 +41,7 @@ struct CmdRun : InstallablesCommand
.longName("ignore-environment")
.shortName('i')
.description("clear the entire environment (except those specified with --keep)")
.handler([&](Strings ss) { ignoreEnvironment = true; });
.set(&ignoreEnvironment, true);
mkFlag()
.longName("keep")