diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-04-29 15:51:45 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-04-29 15:51:45 +0200 |
commit | 9570036146b9bdbd66ce0b9f71479d0f56f3bf35 (patch) | |
tree | fff8a9ed2383a90573c56bf83d143255e1ba16be /src/nix/copy.cc | |
parent | 9c4e05766bb7f3776cfc5eb1a3da358419a65406 (diff) |
nix copy: Build derivations
Fixes
$ nix copy .#hydraJobs.vendoredCrates --to /tmp/nix
error: path '/nix/store/...' is not valid
Diffstat (limited to 'src/nix/copy.cc')
-rw-r--r-- | src/nix/copy.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nix/copy.cc b/src/nix/copy.cc index 66993ac21..23323a36e 100644 --- a/src/nix/copy.cc +++ b/src/nix/copy.cc @@ -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 |