diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-22T12·16+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-04-22T12·33+0200 |
commit | 95abf9c40266687b5525261bad964c6856a58f18 (patch) | |
tree | 944df8c020d5dd8b050d37c062b153a69de63e84 /corepkgs/buildenv.nix | |
parent | 0207272b28f1dad119b418dfafcfb18d22b6d3f6 (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 'corepkgs/buildenv.nix')
0 files changed, 0 insertions, 0 deletions