Author: shlevy
Date: Sat Sep 17 18:52:28 2011
New Revision: 29327
URL: https://ssl.nixos.org/websvn/nix/?rev=29327&sc=1
Log:
python-2.7: Attempt to fix the nixpkgs evaluation error
Modified:
nixpkgs/trunk/pkgs/development/interpreters/python/2.7/default.nix
Modified: nixpkgs/trunk/pkgs/development/interpreters/python/2.7/default.nix
==============================================================================
--- nixpkgs/trunk/pkgs/development/interpreters/python/2.7/default.nix Sat Sep
17 17:40:07 2011 (r29326)
+++ nixpkgs/trunk/pkgs/development/interpreters/python/2.7/default.nix Sat Sep
17 18:52:28 2011 (r29327)
@@ -30,7 +30,7 @@
./nix-store-mtime.patch
];
- postPatch = ''
+ postPatch = stdenv.lib.optionalString (stdenv.gcc.libc != null) ''
substituteInPlace ./Lib/plat-generic/regen \
--replace /usr/include/netinet/in.h \
${stdenv.gcc.libc}/include/netinet/in.h
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits