[Nix-dev] What blocks site.py's from being linked?

Florian Friesdorf flo at chaoflow.net
Sat Oct 15 15:52:28 CEST 2011


Hi,

what is responsible that below there are no "site.py*" and
easy-install.pth anymore after two modules are installed into the
profile? I'm not saying its bad, but I'd like to understand how.

I understand with only one module installed, the lib folder is linked
From the unittest2 derivation. Once the second module also provides
content for lib/python2.7/site-packages/ the egg files/dirs are
linked. But why aren't easy-install.pth and site.py* linked, too?

$ nix-env -p collide -Ai nixpkgs_sys.python27Packages.unittest2
...
$ ls -l collide/lib/python2.7/site-packages/
total 16
-r--r--r-- 1 root root  213 Jan  1  1970 easy-install.pth
-r--r--r-- 1 root root 2362 Jan  1  1970 site.py
-r--r--r-- 1 root root 1849 Jan  1  1970 site.pyc
dr-xr-xr-x 4 root root 4096 Jan  1  1970 unittest2-0.5.1-py2.7.egg/

$ nix-env -p collide -Ai nixpkgs_sys.python27Packages.argparse
...
$ ls -l collide/lib/python2.7/site-packages/
total 8
lrwxrwxrwx 1 root nixbld 114 Oct 15 15:44 argparse-1.1-py2.7.egg -> /nix/store/c54vw3vh0x2h76kjxq6iydgfm3lfz6sa-python-argparse-1.1/lib/python2.7/site-packages/argparse-1.1-py2.7.egg
lrwxrwxrwx 1 root nixbld 120 Oct 15 15:44 unittest2-0.5.1-py2.7.egg -> /nix/store/5f3y1a8xr6kga7wm8k2mfjj176nwxigj-python-unittest2-0.5.1/lib/python2.7/site-packages/unittest2-0.5.1-py2.7.egg/

regards
florian
-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20111015/a498c5d0/attachment.bin 


More information about the nix-dev mailing list