[Nix-dev] Copy a closure to machine with no Nix installed on it

Volth volth at volth.com
Thu Mar 2 17:38:21 CET 2017


Hello

What is a good way to copy a closure to a Linux machine where Nix is
not installed (and it is tricky to install: 1. there is only root
account and 2. there may be no Internet access) ?

"nix-copy-closure" expects "nix-store" on the target machine.

Would "nix-store" be a single executable with no dependencies, it
could be uploaded beforehand, but it has a lot of dependencies so its
uploading is also the task of uploading a closure to a machine without
Nix...


More information about the nix-dev mailing list