gnu-system-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Update on distro bootstrapping with Guix


From: Ludovic Courtès
Subject: Re: Update on distro bootstrapping with Guix
Date: Fri, 12 Oct 2012 22:16:36 +0200
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Hi Simon,

Simon Josefsson <address@hidden> skribis:

> address@hidden (Ludovic Courtès) writes:
>
>> Actually, each user as a forest of symlinks under ~/.nix-profile
>> pointing to packages installed by the user.
>>
>> So in the above example, you would typically have $HOME/.nix-profile/lib
>> in $LIBRARY_PATH, and you would link against libfoo from there, and the
>> resulting binary would have a RUNPATH pointing to
>> $HOME/.nix-profile/lib/libfoo.so.
>
> Ah.  And the forrest of symlinks can be automatically upgraded following
> some "stable" branch or similar?

Exactly.  You basically install packages as a normal user with “nix-env
--install PACKAGE”.  That command populates the forest under
~/.nix-profile.

Then, “nix-env --upgrade '*'” triggers the atomic upgrade of all the
packages you’ve installed, using new versions from a stable branch for
which a binary is available on the Hydra build farm.

Guix currently lacks an equivalent to the ‘nix-env’ command, but that’s
something that will be easily fixed.

Thanks,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]