aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-03-16 17:34:08 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-03-16 17:34:08 +0100
commit3b3046dbcf6a38e1b609a6cebce7db812c7d564d (patch)
treee7a08e957ced565e4ce09b80355cb7f6d3feef8e /gnu/packages
parentca331eb849ef12eee627ff67775197cf503847f5 (diff)
downloadpatches-3b3046dbcf6a38e1b609a6cebce7db812c7d564d.tar
patches-3b3046dbcf6a38e1b609a6cebce7db812c7d564d.tar.gz
gnu: glib: Build reproducibly.
* gnu/packages/glib.scm (glib)[arguments]: Set DETERMINISTIC_BUILD.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/glib.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/glib.scm b/gnu/packages/glib.scm
index b802777192..1581858320 100644
--- a/gnu/packages/glib.scm
+++ b/gnu/packages/glib.scm
@@ -5,7 +5,7 @@
;;; Copyright © 2014, 2015, 2016, 2017 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
-;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Petter <petter@mykolab.ch>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Alex Vong <alexvong1995@gmail.com>
@@ -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")