diff options
| author | Zheng Junjie <z572@z572.online> | 2025-02-17 00:01:43 +0800 |
|---|---|---|
| committer | Zheng Junjie <z572@z572.online> | 2025-02-17 10:54:01 +0800 |
| commit | ad74dedb9f167c088d37a3a30d5d6fe841e9127b (patch) | |
| tree | 856040a975d1ebe37bded724969452a2fe4aa213 /gnu/packages/debian.scm | |
| parent | 8c483c12e94bcf43e4c44170f1d5fea5fbba4970 (diff) | |
gnu: apt-cacher-ng: Fix cross-compiling.
* gnu/packages/debian.scm (apt-cacher-ng)[arguments]<#:configure-flags>:
Set PKG_CONFIG_EXECUTABLE.
Change-Id: Iff300191a2db5b7db8b3dc2790acc0f5ac74b845
Diffstat (limited to 'gnu/packages/debian.scm')
| -rw-r--r-- | gnu/packages/debian.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/debian.scm b/gnu/packages/debian.scm index d7e8edabb29..c54473f6f1c 100644 --- a/gnu/packages/debian.scm +++ b/gnu/packages/debian.scm | |||
| @@ -25,6 +25,7 @@ | |||
| 25 | #:use-module (guix git-download) | 25 | #:use-module (guix git-download) |
| 26 | #:use-module (guix gexp) | 26 | #:use-module (guix gexp) |
| 27 | #:use-module (guix packages) | 27 | #:use-module (guix packages) |
| 28 | #:use-module (guix utils) | ||
| 28 | #:use-module (guix build-system cmake) | 29 | #:use-module (guix build-system cmake) |
| 29 | #:use-module (guix build-system copy) | 30 | #:use-module (guix build-system copy) |
| 30 | #:use-module (guix build-system gnu) | 31 | #:use-module (guix build-system gnu) |
| @@ -556,6 +557,12 @@ debian/copyright for more information."))))) | |||
| 556 | (native-inputs (list pkg-config)) | 557 | (native-inputs (list pkg-config)) |
| 557 | (arguments | 558 | (arguments |
| 558 | (list | 559 | (list |
| 560 | #:configure-flags | ||
| 561 | #~(list | ||
| 562 | (string-append "-DPKG_CONFIG_EXECUTABLE=" | ||
| 563 | (search-input-file | ||
| 564 | %build-inputs (string-append | ||
| 565 | "/bin/" #$(pkg-config-for-target))))) | ||
| 559 | #:tests? #f ;Tests are "for development only". | 566 | #:tests? #f ;Tests are "for development only". |
| 560 | #:phases #~(modify-phases %standard-phases | 567 | #:phases #~(modify-phases %standard-phases |
| 561 | ;; We want to provide good defaults. Here apt-cacher-ng is built | 568 | ;; We want to provide good defaults. Here apt-cacher-ng is built |
