Hi Simon, Simon Josefsson <[email protected]> skribis:
> [email protected] (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’.
