From 671bf5b4d706b95db4059abe19ac99178326830e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cillian=20de=20R=C3=B3iste?= Date: Tue, 27 Nov 2012 23:50:24 +0100 Subject: [PATCH] #185 Fix pycurl Moving the preConfigure command into the installCommand 'fixes' pycurl. --- pkgs/top-level/python-packages.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 22fc3ac5b69c..aa41bb54d66f 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -1852,12 +1852,11 @@ let pythonPackages = python.modules // rec { doCheck = false; - preConfigure = '' - substituteInPlace setup.py --replace '--static-libs' '--libs' + installCommand = '' + substituteInPlace setup.py --replace '--static-libs' '--libs' + python setup.py install --prefix=$out ''; - installCommand = "python setup.py install --prefix=$out"; - meta = { homepage = http://pycurl.sourceforge.net/; description = "Python wrapper for libcurl";