1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00
Commit graph

2 commits

Author SHA1 Message Date
Cillian de Róiste bfac9f828e Bugfix: zc_buildout_nix, replace links to eggs in the store which have been gc-ed 2013-10-08 01:51:24 +02:00
Cillian de Róiste 01cc4301f3 Add a patched version of buildout 2.2.0 for development with nix
Without this patch buildout will copy eggs from the nix store into the
./eggs directory and then try to compile them. This fails because they
are read only. This patch changes the behaviour to create symlinks to
eggs available in the nix store instead of copying them, and not to
try to compile the eggs in the store. To differentiate this from the
default buildout (which may be provided otherwise e.g. as a
dependency) the executable is renamed to buildout-nix.

This can be used in conjuntion with myEnvFun to create development
environments which make use of the python modules available in the
store while downloading any additional required eggs. A pleasant side
effect is that you can conveniently replace the symlink with a copy
for debugging purposes.
2013-08-28 00:26:06 +02:00