diff options
| author | Yelninei <yelninei@tutamail.com> | 2026-08-20 18:56:14 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-08-24 18:47:55 +0200 |
| commit | 1a9f25a430e65817dc9ebf030bba023e002afd9f (patch) | |
| tree | a37921ebe531a314eaddd6fc135d39464f328474 | |
| parent | d600a9bf437710eb87ef5834ec154350357ab616 (diff) | |
gnu: gnupg: Fix cross build.
* gnu/packages/gnupg.scm (gnupg)[arguments]<#:phases>: Set path to gprt_config.
[native-inputs]: Add libgpg-error.
Merges: guix/guix!10687
Signed-off-by: Andreas Enge <andreas@enge.fr>
| -rw-r--r-- | gnu/packages/gnupg.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index a0bcca427a6..0c914f28c96 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm | |||
| @@ -348,7 +348,8 @@ compatible to GNU Pth.") | |||
| 348 | "0lhknfbnbhn2mfz9b5c19n8m2116my06hz7s569nm9j6ma62rbz3")))) | 348 | "0lhknfbnbhn2mfz9b5c19n8m2116my06hz7s569nm9j6ma62rbz3")))) |
| 349 | (build-system gnu-build-system) | 349 | (build-system gnu-build-system) |
| 350 | (native-inputs | 350 | (native-inputs |
| 351 | (list pkg-config)) | 351 | (list libgpg-error ; for yat2m |
| 352 | pkg-config)) | ||
| 352 | (inputs | 353 | (inputs |
| 353 | (append (if (target-hurd?) | 354 | (append (if (target-hurd?) |
| 354 | '() | 355 | '() |
| @@ -378,6 +379,10 @@ compatible to GNU Pth.") | |||
| 378 | "--with-libgpg-error-prefix=" | 379 | "--with-libgpg-error-prefix=" |
| 379 | #$(this-package-input "libgpg-error")) | 380 | #$(this-package-input "libgpg-error")) |
| 380 | #~(string-append | 381 | #~(string-append |
| 382 | "ac_cv_path_GPGRT_CONFIG=" | ||
| 383 | #$(this-package-input "libgpg-error") | ||
| 384 | "/bin/gpgrt-config") | ||
| 385 | #~(string-append | ||
| 381 | "--with-libgcrypt-prefix=" | 386 | "--with-libgcrypt-prefix=" |
| 382 | #$(this-package-input "libgcrypt")) | 387 | #$(this-package-input "libgcrypt")) |
| 383 | #~(string-append | 388 | #~(string-append |
