From 0dbef6991d2bb501679226de8be1450081491dac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cillian=20de=20R=C3=B3iste?= Date: Wed, 6 Feb 2013 00:35:17 +0100 Subject: [PATCH] #283: Patch buildout to be useful in a nix profile --- pkgs/top-level/python-packages.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 92cd1965877..d3925458ad5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -398,6 +398,12 @@ pythonPackages = python.modules // rec { md5 = "4e3b521600e475c56a0a66459a5fc7bb"; }; + # TODO: consider if this patch should be an option + # It makes buildout useful in a nix profile, but this alters the default functionality + patchPhase = '' + sed -i "s/return (stdlib, site_paths)/return (stdlib, sys.path)/g" src/zc/buildout/easy_install.py + ''; + meta = { homepage = http://www.buildout.org/; description = "A software build and configuration system";