python 3.4, 3.5, 3.6: Don't use ldconfig and speed up uuid load, fixes #28349

These patches had already been merged for 3.5 and 3.6 but not yet for
3.4. However, they did contain a mistake as explained in #28349.
This commit is contained in:
Frederik Rietdijk
2017-08-28 09:42:59 +02:00
parent aa1e535b1b
commit a7ddca6e3d
4 changed files with 171 additions and 20 deletions

View File

@@ -64,6 +64,10 @@ in stdenv.mkDerivation {
substituteInPlace configure --replace '-Wl,-stack_size,1000000' ' '
'';
patches = [
./no-ldconfig.patch
];
postPatch = ''
# Determinism
substituteInPlace "Lib/py_compile.py" --replace "source_stats['mtime']" "(1 if 'DETERMINISTIC_BUILD' in os.environ else source_stats['mtime'])"