python: improve library determinism

1) Make the core python libraries deterministic.
2) Make the python libraries created by glib deterministic.

@vcunat put back the removal of share/gtk-doc in glib.
This commit is contained in:
Alexander Kjeldaas 2014-04-09 01:04:50 +02:00 committed by Vladimír Čunát
parent 3196d4f7c7
commit 3bf4362381
2 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ let
'';
NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin "-msse2";
DETERMINISTIC_BUILD = 1;
setupHook = ./setup-hook.sh;

View File

@ -77,6 +77,7 @@ stdenv.mkDerivation rec {
'';
enableParallelBuilding = true;
DETERMINISTIC_BUILD = 1;
inherit doCheck;
preCheck = optionalString doCheck