1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: Add pkg-config-final.

* gnu/packages/commencement.scm (pkg-config-final): New package.
(make-gnu-make-final): Use it.

Change-Id: I1452a09e765de863ac9725ac7924a0a97d3010ca
This commit is contained in:
Maxim Cournoyer
2025-10-19 12:16:28 +09:00
parent 75d24fbfef
commit 72a99ff1a7

View File

@@ -3511,24 +3511,26 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
(define %boot5-inputs %boot4-inputs)
(define with-boot5 with-boot4)
(define pkg-config-final
(package
(inherit %pkg-config) ;the native pkg-config
(arguments
(ensure-keyword-arguments
(package-arguments %pkg-config)
(list #:implicit-inputs? #f
#:guile %bootstrap-guile)))
(inputs (%boot2-inputs))))
(define (make-gnu-make-final)
"Compute the final GNU Make, which uses the final Guile."
(let ((pkg-config (package
(inherit %pkg-config) ;the native pkg-config
(inputs `(("guile" ,guile-final)
,@(%boot5-inputs)))
(arguments
`(#:implicit-inputs? #f
,@(package-arguments %pkg-config))))))
(package
(inherit (package-with-bootstrap-guile gnu-make))
(inputs `(("guile" ,guile-final)
,@(%boot5-inputs)))
(native-inputs `(("pkg-config" ,pkg-config)))
(arguments
`(#:implicit-inputs? #f
,@(package-arguments gnu-make))))))
(package
(inherit (package-with-bootstrap-guile gnu-make))
(inputs `(("guile" ,guile-final)
,@(%boot5-inputs)))
(native-inputs `(("pkg-config" ,pkg-config-final)))
(arguments
`(#:implicit-inputs? #f
,@(package-arguments gnu-make)))))
(define coreutils-final
;; The final Coreutils. Treat them specially because some packages, such as