Yes, "nix-store -qR ..." and then "rsync" seems a simple and promising solution. Thank you!
On 3/2/17, Tomasz Czyż <[email protected]> wrote: > I assume you could do > nix-store --export or nix-store --dump to prepare archive > or you can query nix store for all dependnecies and with that list you can > copy them using method of your choice > > > 2017-03-02 16:38 GMT+00:00 Volth <[email protected]>: > >> 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... >> _______________________________________________ >> nix-dev mailing list >> [email protected] >> http://lists.science.uu.nl/mailman/listinfo/nix-dev >> > > > > -- > Tomasz Czyż > _______________________________________________ nix-dev mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-dev
