guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/01: gnu: glib: Build reproducibly.


From: Ricardo Wurmus
Subject: 01/01: gnu: glib: Build reproducibly.
Date: Fri, 16 Mar 2018 15:46:23 -0400 (EDT)

rekado pushed a commit to branch rhel6
in repository guix.

commit fb987d3e66714cc7b8afa96cdd14b480e159297f
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Mar 16 17:34:08 2018 +0100

    gnu: glib: Build reproducibly.
    
    * gnu/packages/glib.scm (glib)[arguments]: Set DETERMINISTIC_BUILD.
---
 gnu/packages/glib.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index 6cb4a2d..7fbe526 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -183,6 +183,9 @@ shared NFS home directories.")
       (modify-phases %standard-phases
         (add-before 'build 'pre-build
           (lambda* (#:key inputs outputs #:allow-other-keys)
+            ;; For building deterministic pyc files
+            (setenv "DETERMINISTIC_BUILD" "1")
+
             ;; For tests/gdatetime.c.
             (setenv "TZDIR"
                     (string-append (assoc-ref inputs "tzdata")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]