guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/17: gnu: gpgme: Hardcode gpg binaries' location.


From: guix-commits
Subject: 03/17: gnu: gpgme: Hardcode gpg binaries' location.
Date: Thu, 18 Jan 2024 07:58:10 -0500 (EST)

jpoiret pushed a commit to branch core-updates
in repository guix.

commit b452b07e400a216b8abff1d7dd9eb5b5cc534409
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Tue Dec 26 16:00:14 2023 +0100

    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 70ed84a111..97e7b4a0f2 100644
--- a/gnu/packages/gnupg.scm
+++ b/gnu/packages/gnupg.scm
@@ -423,7 +423,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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]