gnu: gpgme: Hardcode gpg binaries' location.

* gnu/packages/gnupg.scm (gpgme): Pass the gpg binaries' location to configure.

Change-Id: I13d8e4d97cd93fffa6e3d1a6e39972e08ed69376
This commit is contained in:
Josselin Poiret 2023-12-26 16:00:14 +01:00 committed by Ludovic Courtès
parent 828daf0ab0
commit 609acbbc29
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -446,7 +446,12 @@ (define-public gpgme
(sha256
(base32 "17hfigfnq6xz45b5xrp299f68b5mwx0aysd51sx5v4nf8yp4w79n"))))
(build-system gnu-build-system)
(native-inputs
(arguments
(list
#:configure-flags
#~(let ((gpg-bins (dirname (search-input-file %build-inputs "/bin/gpg"))))
(list (string-append "--enable-fixed-path=" gpg-bins)))))
(inputs
(list gnupg))
(propagated-inputs
;; As required by the pkg-config's Requires.private.