nix copy: Build derivations

Fixes

  $ nix copy .#hydraJobs.vendoredCrates --to /tmp/nix
  error: path '/nix/store/...' is not valid
This commit is contained in:
Eelco Dolstra 2020-04-29 15:51:45 +02:00
parent 9c4e05766b
commit 9570036146

View File

@ -40,6 +40,8 @@ struct CmdCopy : StorePathsCommand
.shortName('s')
.description("whether to try substitutes on the destination store (only supported by SSH)")
.set(&substitute, Substitute);
realiseMode = Build;
}
std::string description() override