On Wed, Jan 05, 2011 at 12:10:15AM +0300, [email protected] 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 <[email protected]>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: [email protected]
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to