[Nix-dev] [***SPAM***] Re: Using Nix to build embedded linux firmware

Michael Raskin 7c6f434c at mail.ru
Tue May 22 08:20:09 CEST 2012


>> Remote installation of packages:
>>        As a follow-up thought to the last one, would it be possible
>>        to update an installation remotely, with only a very limited set of
>>        tools being present? I've looked at Disnix, and the README says
>>        that all target hosts need to have Nix (and Nixpkgs) installed,
>>        which is unfortunate but understandable given its intended
>>        use case (server/cluster deployment).
>>
>>        The Nix store file structure seems simple
>>        enough to allow remote management. Is this correct?
>
>This is seemes correct to me.  If you don't plan to have Nix on board,
>you can just maintain the closure of the wanted systems on the remote
>and remove everything which is not listed in the closure of the
>systems.
>
>Nix can generate such closure, and Hydra (the buildfarm) can even be
>used to generate them.

I also think that with some work one could have on-device store mounted
via sshfs with store metadata on the controlling PC, and use import 
operation and gc operation of nix-store to manage package set.





More information about the nix-dev mailing list