about summary refs log tree commit diff
path: root/src/libmain
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-04-22T12·16+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-04-22T12·33+0200
commit95abf9c40266687b5525261bad964c6856a58f18 (patch)
tree944df8c020d5dd8b050d37c062b153a69de63e84 /src/libmain
parent0207272b28f1dad119b418dfafcfb18d22b6d3f6 (diff)
Add "nix copy" command
This replaces nix-push. For example,

  $ nix copy --to file:///tmp/cache -r $(type -p firefox)

copies the closure of firefox to the specified binary cache. And

  $ nix copy --from file:///tmp/cache --to s3://my-cache /nix/store/abcd...

copies between two binary caches.

It will also replace nix-copy-closure, once we have an SSHStore class,
e.g.

  $ nix copy --from ssh://alice@machine /nix/store/abcd...
Diffstat (limited to 'src/libmain')
0 files changed, 0 insertions, 0 deletions