about summary refs log tree commit diff
path: root/src/nix/copy.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-09-06T14·20+0200
committerEelco Dolstra <edolstra@gmail.com>2017-09-06T14·20+0200
commitdff440aab32131b3459cadc2c4cc60c6f42674c6 (patch)
treea8a0634eb1e9766857cd1c2429809349421e495c /src/nix/copy.cc
parentdf4342bc175a153986ebcf5bce2a758d5353adeb (diff)
nix build: Add --out-link and --no-link options
Diffstat (limited to 'src/nix/copy.cc')
-rw-r--r--src/nix/copy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/copy.cc b/src/nix/copy.cc
index d9e6c949352b..fe963e794277 100644
--- a/src/nix/copy.cc
+++ b/src/nix/copy.cc
@@ -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