python-2.7: Attempt to fix the nixpkgs evaluation error
svn path=/nixpkgs/trunk/; revision=29327
This commit is contained in:
parent
f7567f8717
commit
2cc9e52aec
@ -30,7 +30,7 @@ let
|
||||
./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
|
||||
|
Loading…
Reference in New Issue
Block a user