From 609acbbc298c0ffad1fe960cf768811c313b6dd8 Mon Sep 17 00:00:00 2001 From: Josselin Poiret Date: Tue, 26 Dec 2023 16:00:14 +0100 Subject: [PATCH] gnu: gpgme: Hardcode gpg binaries' location. * gnu/packages/gnupg.scm (gpgme): Pass the gpg binaries' location to configure. Change-Id: I13d8e4d97cd93fffa6e3d1a6e39972e08ed69376 --- gnu/packages/gnupg.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index d52b0e5d04..9ce1e0aa73 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -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.