[Nix-dev] nix on ubuntu/debian. replace core packages.
zimbatm
zimbatm at zimbatm.com
Fri Dec 30 12:48:54 CET 2016
Hi Peter,
When nix is installed on another distro what you get is a
`~/.nix-profile/bin` installed in your PATH before the usual /usr/bin,/bin
and so on. So if you install userland tools they will "replace" the
system-provided ones just because the path lookup will find them first. So
in that sense you get a unified userland between distros if you install the
same nix packages. Does that answer your question? Note that this only
works for userspace program and not system services.
On Tue, 27 Dec 2016 at 06:15 Peter Holm <peter.g.holm at gmail.com> wrote:
> My question is regarding Nix multiuser-install.
> Is it possible to replace the base-system with packages from nix.?
> Or even better - boot to base-system from nix core, and keep desired
> tools from the previous userland.?
>
> My idea is simple - if its can be done. Then probably one vould
> ectand it to on-the-fly switch userland between distros and keep whats
> installed from nix. Ok, you have to rebind or replace some
> config-files... But , i belive that should not be impossible to get
> going.?
>
> /Peter
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20161230/ea61d463/attachment.html>
More information about the nix-dev
mailing list