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

Tomasz Czyż tomasz.czyz at gmail.com
Thu Mar 2 17:56:28 CET 2017


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 <volth at volth.com>:

> 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
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>



-- 
Tomasz Czyż
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170302/355bd3b0/attachment.html>


More information about the nix-dev mailing list