aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJosselin Poiret <dev@jpoiret.xyz>2023-12-26 16:00:14 +0100
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:44:26 +0200
commit609acbbc298c0ffad1fe960cf768811c313b6dd8 (patch)
tree558fcc357aa41d56fb77188b56f8508101bd9e67 /gnu/packages
parent828daf0ab04a12695ff14ad6bad4b23533702215 (diff)
downloadguix-609acbbc298c0ffad1fe960cf768811c313b6dd8.tar.gz
guix-609acbbc298c0ffad1fe960cf768811c313b6dd8.zip
gnu: gpgme: Hardcode gpg binaries' location.
* gnu/packages/gnupg.scm (gpgme): Pass the gpg binaries' location to configure. Change-Id: I13d8e4d97cd93fffa6e3d1a6e39972e08ed69376
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/gnupg.scm7
1 files changed, 6 insertions, 1 deletions
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 @@ libskba (working with X.509 certificates and CMS data).")
(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.