guix-commits
[Top][All Lists]
Advanced

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

11/15: gnu: wine-minimal: Build more reproducibly.


From: guix-commits
Subject: 11/15: gnu: wine-minimal: Build more reproducibly.
Date: Sun, 5 Feb 2023 01:08:50 -0500 (EST)

lilyp pushed a commit to branch master
in repository guix.

commit d9e2ad989a651846e24d28e0c8b837833e440f7c
Author: Kaelyn Takata <kaelyn.alexi@protonmail.com>
AuthorDate: Thu Feb 2 21:24:21 2023 +0000

    gnu: wine-minimal: Build more reproducibly.
    
    * gnu/packages/wine.scm (wine-minimal)[phases]: Add a new 
'set-widl-time-override phase.
    
    Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
---
 gnu/packages/wine.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/wine.scm b/gnu/packages/wine.scm
index 3b637f76e5..88f146b46b 100644
--- a/gnu/packages/wine.scm
+++ b/gnu/packages/wine.scm
@@ -134,7 +134,12 @@
                (substitute* "tools/makedep.c"
                  (("output_filenames\\( unix_libs \\);" all)
                   (string-append all
-                   "output ( \" -Wl,-rpath=%s \", arch_install_dirs[arch] 
);"))))))
+                   "output ( \" -Wl,-rpath=%s \", arch_install_dirs[arch] 
);")))))
+           (add-before 'build 'set-widl-time-override
+             ;; Set WIDL_TIME_OVERRIDE to avoid embedding the current date in
+             ;; files generated by WIDL.
+             (lambda _
+               (setenv "WIDL_TIME_OVERRIDE" "315532800"))))
        #:configure-flags
        #~(list "--without-freetype"
                "--without-x")))



reply via email to

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