aboutsummaryrefslogtreecommitdiff
path: root/src/nix/run.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-09-06 16:20:34 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-09-06 16:20:34 +0200
commitdff440aab32131b3459cadc2c4cc60c6f42674c6 (patch)
treea8a0634eb1e9766857cd1c2429809349421e495c /src/nix/run.cc
parentdf4342bc175a153986ebcf5bce2a758d5353adeb (diff)
nix build: Add --out-link and --no-link options
Diffstat (limited to 'src/nix/run.cc')
-rw-r--r--src/nix/run.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/run.cc b/src/nix/run.cc
index f016b04a1..64a5cbd30 100644
--- a/src/nix/run.cc
+++ b/src/nix/run.cc
@@ -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")