diff options
author | John Wiegley <johnw@newartisans.com> | 2015-01-02 14:47:43 -0600 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2015-01-03 07:53:08 -0500 |
commit | 783e27e32ae45163288509f0f35124cd78214685 (patch) | |
tree | 0e5e00f881d4c6bd9a69593ca4f687a6f67d6035 /pkgs/development/python-modules | |
parent | 70befe1df1117ed8a74b55ea30b0b25010341235 (diff) | |
download | nixlib-783e27e32ae45163288509f0f35124cd78214685.tar nixlib-783e27e32ae45163288509f0f35124cd78214685.tar.gz nixlib-783e27e32ae45163288509f0f35124cd78214685.tar.bz2 nixlib-783e27e32ae45163288509f0f35124cd78214685.tar.lz nixlib-783e27e32ae45163288509f0f35124cd78214685.tar.xz nixlib-783e27e32ae45163288509f0f35124cd78214685.tar.zst nixlib-783e27e32ae45163288509f0f35124cd78214685.zip |
pycrypto: preConfigure patch ups
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/pycrypto/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pycrypto/default.nix b/pkgs/development/python-modules/pycrypto/default.nix index 59bd9affef67..4faaf20d29c3 100644 --- a/pkgs/development/python-modules/pycrypto/default.nix +++ b/pkgs/development/python-modules/pycrypto/default.nix @@ -9,6 +9,11 @@ buildPythonPackage rec { sha256 = "0g0ayql5b9mkjam8hym6zyg6bv77lbh66rv1fyvgqb17kfc1xkpj"; }; + preConfigure = '' + sed -i 's,/usr/include,/no-such-dir,' configure + sed -i "s!,'/usr/include/'!!" setup.py + ''; + buildInputs = stdenv.lib.optional (!python.isPypy or false) gmp; # optional for pypy doCheck = !(python.isPypy or stdenv.isDarwin); # error: AF_UNIX path too long |