diff options
| author | Andreas Enge <andreas@enge.fr> | 2026-08-18 15:28:06 +0200 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-08-28 16:40:53 +0200 |
| commit | ac4f45cfbca8235fee17e74c5b9635c7f369800a (patch) | |
| tree | f1e104d136c3f3170a5b13e63f002b5c4e075b81 /gnu/packages | |
| parent | 668c8e6b2275084fd9c3f00bcf63f0ca48f4ea6f (diff) | |
gnu: gnupg: Simplify gexp logic.
* gnu/packages/gnupg.scm (gnupg)[arguments]<#:configure-flags>: Use pure
gexp instead of mixture with standard (un-)quotes.
Merges: guix/guix!10645
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/gnupg.scm | 50 |
1 files changed, 24 insertions, 26 deletions
diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index c4a7edc90f2..da068596e42 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm | |||
| @@ -364,32 +364,30 @@ compatible to GNU Pth.") | |||
| 364 | (arguments | 364 | (arguments |
| 365 | (list | 365 | (list |
| 366 | #:configure-flags | 366 | #:configure-flags |
| 367 | ;; Always use quasiquote on the next core-updates cycle. | 367 | #~(list |
| 368 | #~(#$(if (%current-target-system) | 368 | ;; Otherwise, the test suite looks for the `gpg` |
| 369 | #~quasiquote | 369 | ;; executable in its installation directory in |
| 370 | #~quote) | 370 | ;; /gnu/store before it has been installed. |
| 371 | (#$@(if (%current-target-system) | 371 | "--enable-gnupg-builddir-envvar" |
| 372 | #~(,(string-append | 372 | "--enable-all-tests" |
| 373 | "--with-libgpg-error-prefix=" | 373 | #$@(if (%current-target-system) |
| 374 | #$(this-package-input "libgpg-error")) | 374 | (list |
| 375 | ,(string-append | 375 | #~(string-append |
| 376 | "--with-libgcrypt-prefix=" | 376 | "--with-libgpg-error-prefix=" |
| 377 | #$(this-package-input "libgcrypt")) | 377 | #$(this-package-input "libgpg-error")) |
| 378 | ,(string-append | 378 | #~(string-append |
| 379 | "--with-libassuan-prefix=" | 379 | "--with-libgcrypt-prefix=" |
| 380 | #$(this-package-input "libassuan")) | 380 | #$(this-package-input "libgcrypt")) |
| 381 | ,(string-append | 381 | #~(string-append |
| 382 | "--with-ksba-prefix=" | 382 | "--with-libassuan-prefix=" |
| 383 | #$(this-package-input "libksba")) | 383 | #$(this-package-input "libassuan")) |
| 384 | ,(string-append | 384 | #~(string-append |
| 385 | "--with-npth-prefix=" | 385 | "--with-ksba-prefix=" |
| 386 | #$(this-package-input "npth"))) | 386 | #$(this-package-input "libksba")) |
| 387 | #~()) | 387 | #~(string-append |
| 388 | ;; Otherwise, the test suite looks for the `gpg` | 388 | "--with-npth-prefix=" |
| 389 | ;; executable in its installation directory in | 389 | #$(this-package-input "npth"))) |
| 390 | ;; /gnu/store before it has been installed. | 390 | '())) |
| 391 | "--enable-gnupg-builddir-envvar" | ||
| 392 | "--enable-all-tests")) | ||
| 393 | #:phases | 391 | #:phases |
| 394 | #~(modify-phases %standard-phases | 392 | #~(modify-phases %standard-phases |
| 395 | (add-before 'configure 'patch-paths | 393 | (add-before 'configure 'patch-paths |
