gnu: shared-mime-info: Make .drv reproducible again.

This fixes an issue in commit 0a167432db, 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.
This commit is contained in:
Liliana Marie Prikler 2023-08-19 20:36:50 +02:00
parent f62efeff76
commit e43498b32d
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87

View File

@ -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