From d9e2ad989a651846e24d28e0c8b837833e440f7c Mon Sep 17 00:00:00 2001 From: Kaelyn Takata Date: Thu, 2 Feb 2023 21:24:21 +0000 Subject: 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 --- gnu/packages/wine.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gnu/packages/wine.scm') 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"))) -- cgit 1.4.1