[Nix-dev] transition to pure system
Florian Friesdorf
flo at chaoflow.net
Wed Jan 5 13:50:51 CET 2011
On Wed, Jan 05, 2011 at 12:10:15AM +0300, 7c6f434c at mail.ru wrote:
> >But, sadly, it is not enough: In nixos there are no environment
> >varibales set for compilation that would point to the "correct" non-pure
> >locations.
> >
> >For me, just running ldconfig already raises an error:
> >$ which ldconfig
> >/var/run/current-system/sw/sbin/ldconfig
> >
> >$ ldconfig
> >ldconfig: Can't open configuration file /nix/store/vxycd107wjbhcj720hzkw2px7s7kr724-glibc-2.12.2/etc/ld.so.conf: No such file or directory
> >ldconfig: Can't create temporary cache file /nix/store/vxycd107wjbhcj720hzkw2px7s7kr724-glibc-2.12.2/etc/ld.so.cache~: Permission denied
>
> 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"
In my system profile there is no include directory:
$ ls -1 /var/run/current-system/sw
bin
etc
info
lib
man
sbin
share
How do I get one?
--
Florian Friesdorf <flo at chaoflow.net>
GPG FPR: 7A13 5EEE 1421 9FC2 108D BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo at chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
More information about the nix-dev
mailing list