diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2025-10-19 12:16:28 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2025-10-30 16:13:01 +0900 |
| commit | 72a99ff1a72c00d2b7a29f203b38cb4ec1c6fc34 (patch) | |
| tree | 7dee95a14281b110216bacd192347bc0abbb0855 /gnu | |
| parent | 75d24fbfeff3637f44099fd205ab25fa8fffd53b (diff) | |
gnu: Add pkg-config-final.
* gnu/packages/commencement.scm (pkg-config-final): New package.
(make-gnu-make-final): Use it.
Change-Id: I1452a09e765de863ac9725ac7924a0a97d3010ca
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/commencement.scm | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 3181008e099..c3731b3bc37 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm | |||
| @@ -3511,24 +3511,26 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" | |||
| 3511 | (define %boot5-inputs %boot4-inputs) | 3511 | (define %boot5-inputs %boot4-inputs) |
| 3512 | (define with-boot5 with-boot4) | 3512 | (define with-boot5 with-boot4) |
| 3513 | 3513 | ||
| 3514 | (define pkg-config-final | ||
| 3515 | (package | ||
| 3516 | (inherit %pkg-config) ;the native pkg-config | ||
| 3517 | (arguments | ||
| 3518 | (ensure-keyword-arguments | ||
| 3519 | (package-arguments %pkg-config) | ||
| 3520 | (list #:implicit-inputs? #f | ||
| 3521 | #:guile %bootstrap-guile))) | ||
| 3522 | (inputs (%boot2-inputs)))) | ||
| 3523 | |||
| 3514 | (define (make-gnu-make-final) | 3524 | (define (make-gnu-make-final) |
| 3515 | "Compute the final GNU Make, which uses the final Guile." | 3525 | "Compute the final GNU Make, which uses the final Guile." |
| 3516 | (let ((pkg-config (package | 3526 | (package |
| 3517 | (inherit %pkg-config) ;the native pkg-config | 3527 | (inherit (package-with-bootstrap-guile gnu-make)) |
| 3518 | (inputs `(("guile" ,guile-final) | 3528 | (inputs `(("guile" ,guile-final) |
| 3519 | ,@(%boot5-inputs))) | 3529 | ,@(%boot5-inputs))) |
| 3520 | (arguments | 3530 | (native-inputs `(("pkg-config" ,pkg-config-final))) |
| 3521 | `(#:implicit-inputs? #f | 3531 | (arguments |
| 3522 | ,@(package-arguments %pkg-config)))))) | 3532 | `(#:implicit-inputs? #f |
| 3523 | (package | 3533 | ,@(package-arguments gnu-make))))) |
| 3524 | (inherit (package-with-bootstrap-guile gnu-make)) | ||
| 3525 | (inputs `(("guile" ,guile-final) | ||
| 3526 | ,@(%boot5-inputs))) | ||
| 3527 | (native-inputs `(("pkg-config" ,pkg-config))) | ||
| 3528 | (arguments | ||
| 3529 | `(#:implicit-inputs? #f | ||
| 3530 | ,@(package-arguments gnu-make)))))) | ||
| 3531 | |||
| 3532 | 3534 | ||
| 3533 | (define coreutils-final | 3535 | (define coreutils-final |
| 3534 | ;; The final Coreutils. Treat them specially because some packages, such as | 3536 | ;; The final Coreutils. Treat them specially because some packages, such as |
