[Nix-dev] nix store: hardlink vs symlink
Peter Simons
simons at cryp.to
Sat Sep 24 17:15:08 CEST 2011
Hi Florian,
> If ./bin/python is a symlink, python will resolve it to find its home
> and set sys.prefix accordingly.
it seems to me like Python is behaving perfectly reasonable. The prefix of
Python is at /nix/store/vzpvrymynp4n93bznxha6hadj0ww68vx-python-2.7.1. The
other paths, /tmp/cfl/bad or /tmp/cfl/good1, are not its prefix.
Why would you want Python to believe that its prefix would be at one of those
paths?
Take care,
Peter
More information about the nix-dev
mailing list