[Nix-dev] transition to pure system
Kevin Quick
quick at sparq.org
Wed Jan 5 00:39:23 CET 2011
On Tue, 04 Jan 2011 14:10:15 -0700, <7c6f434c at mail.ru> wrote:
> export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/var/run/current-system/sw/lib"
> export NIX_LDFLAGS="$NIX_LDFLAGS -L /var/run/current-system/sw/lib"
> export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I /var/run/current-system/sw/include"
> export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/var/run/current-system/sw/lib/pkgconfig"
Can someone explain the specific difference between /var/run/current-system/sw/X and $HOME/.nix-profile/X paths?
I had assumed the former was only the tools involved in the XXX-system.drv (from /etc/nix/configuration.nix) and that the latter was the superset of that and anything I'd added to my user's profile via nix-env -i but I'm not sure if that's correct.
--
-KQ
More information about the nix-dev
mailing list