diff options
Diffstat (limited to 'src/nix/copy.cc')
-rw-r--r-- | src/nix/copy.cc | 2 |
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 |