diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-09-27T16·28+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-09-27T16·28+0200 |
commit | 5421ad243e261d35bf8cb1000aa389399cf7657f (patch) | |
tree | d7189b15f440e347a3c7fa936138be7a4547e495 /src/nix/copy.cc | |
parent | b8875213dcedd60f419089392cd5a9b3cfaf6057 (diff) |
nix copy: make recursive by default
Diffstat (limited to 'src/nix/copy.cc')
-rw-r--r-- | src/nix/copy.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nix/copy.cc b/src/nix/copy.cc index 8d7c6a0e8e4c..071ac3890aa9 100644 --- a/src/nix/copy.cc +++ b/src/nix/copy.cc @@ -17,6 +17,7 @@ struct CmdCopy : StorePathsCommand SubstituteFlag substitute = NoSubstitute; CmdCopy() + : StorePathsCommand(true) { mkFlag(0, "from", "store-uri", "URI of the source Nix store", &srcUri); mkFlag(0, "to", "store-uri", "URI of the destination Nix store", &dstUri); |