From dff440aab32131b3459cadc2c4cc60c6f42674c6 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 6 Sep 2017 16:20:34 +0200 Subject: nix build: Add --out-link and --no-link options --- src/nix/run.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nix/run.cc') 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") -- cgit v1.2.3