[Nix-dev] nix store: hardlink vs symlink (was Re: python application vs python environment)

Florian Friesdorf flo at chaoflow.net
Sat Sep 24 14:42:54 CEST 2011


Isolating aspects of the original mail:

On Sat, 24 Sep 2011 14:36:20 +0200, Florian Friesdorf <flo at chaoflow.net> wrote:
> If ./bin/python is a symlink, we have currently a problem and PYTHONHOME
> would be a solution, if python is a real file, we do not have a problem.
> 
> So instead of symlinking the python executable, nix-env should be instructed
> to hard-link it - is this possible?

Why is nix using symlinks to link files in the nix store?
Would switching to hardlinks break something?

- symlinks in case of whole directories
- hardlinks for individual files

-- 
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/20110924/2fb90808/attachment.bin 


More information about the nix-dev mailing list