From 9570036146b9bdbd66ce0b9f71479d0f56f3bf35 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 29 Apr 2020 15:51:45 +0200 Subject: [PATCH] nix copy: Build derivations Fixes $ nix copy .#hydraJobs.vendoredCrates --to /tmp/nix error: path '/nix/store/...' is not valid --- src/nix/copy.cc | 2 ++ 1 file changed, 2 insertions(+) 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