[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/04: gnu: shared-mime-info: Make .drv reproducible again.
From: |
guix-commits |
Subject: |
04/04: gnu: shared-mime-info: Make .drv reproducible again. |
Date: |
Sat, 19 Aug 2023 14:47:27 -0400 (EDT) |
lilyp pushed a commit to branch gnome-team
in repository guix.
commit e43498b32dcbbf055d72339086213cd60c336acf
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sat Aug 19 20:36:50 2023 +0200
gnu: shared-mime-info: Make .drv reproducible again.
This fixes an issue in commit 0a167432dbccb3ed5b6f27a48b61e570846cf784, that
causes the .drv of shared-mime-info to change with each invocation of guix.
For more information, refer to <https://bugs.gnu.org/65383> and
<http://logs.guix.gnu.org/guix/2023-08-19.log#184540>.
* gnu/packages/freedesktop.scm (shared-mime-info)[#:configure-flags]: Infer
xdgmime-path via search-input-file.
---
gnu/packages/freedesktop.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 8cb4c61d9f..85ba5ba147 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -534,8 +534,10 @@ display servers. It supports many different languages and
emoji.")
(arguments
(list
#:configure-flags
- #~(list #$(format #f "-Dxdgmime-path=~a/bin"
- (this-package-native-input "xdgmime"))
+ #~(list (string-append
+ "-Dxdgmime-path="
+ (dirname
+ (search-input-file %build-inputs "/bin/test-mime")))
"-Dupdate-mimedb=true")
#:phases
#~(modify-phases %standard-phases