1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 10:50:24 -04:00

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') .shortName('s')
.description("whether to try substitutes on the destination store (only supported by SSH)") .description("whether to try substitutes on the destination store (only supported by SSH)")
.set(&substitute, Substitute); .set(&substitute, Substitute);
realiseMode = Build;
} }
std::string description() override std::string description() override