mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
useful way to transfer the closure of a store path to another machine. These commands provide functionality previously possible through `nix-push --copy'. However, they are much more convenient in many situations (though possibly less efficient). Example: $ nix-pack-closure /nix/store/hj232g1r...-subversion-1.3.0 > svn.closure (on another machine:) $ nix-unpack-closure < svn.closure Note that Subversion is added to the store, but not installed into a user environment. One should do `nix-env -i /nix/store/hj232g1r...-subversion-1.3.0' for that. Another example: copy the application Azureus to the machine `scratchy' through ssh: $ nix-pack-closure $(which azureus) | ssh scratchy nix-unpack-closure |
||
|---|---|---|
| .. | ||
| copying-collector.pl | ||
| download-using-manifests.pl.in | ||
| gc-releases.pl | ||
| generate-patches.pl.in | ||
| Makefile.am | ||
| nix-build.in | ||
| nix-channel.in | ||
| nix-collect-garbage.in | ||
| nix-install-package.in | ||
| nix-pack-closure.in | ||
| nix-prefetch-url.in | ||
| nix-profile.sh.in | ||
| nix-pull.in | ||
| nix-push.in | ||
| nix-unpack-closure.in | ||
| optimise-store.pl | ||
| readmanifest.pm.in | ||
| remove-patches.pl | ||
| update-manifest.pl | ||