gnu: %boot6-inputs: Replace xz with xz-final.
* gnu/packages/commencement.scm (xz-final): New variable. (%boot6-inputs): Add xz-final. Remove xz. (%final-inputs): Add xz-final. Remove xz from packages 'to finalize'.master
parent
87423addf5
commit
da7d615629
|
@ -3292,11 +3292,19 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
|
||||||
(inputs (alist-delete "pcre" (package-inputs grep)))
|
(inputs (alist-delete "pcre" (package-inputs grep)))
|
||||||
(native-inputs `(("perl" ,perl-boot0))))))
|
(native-inputs `(("perl" ,perl-boot0))))))
|
||||||
|
|
||||||
|
(define xz-final
|
||||||
|
;; The final xz. We need to replace the bootstrap xz with a newer one
|
||||||
|
;; before we get to the %final-inputs so file doesn't try to link to it.
|
||||||
|
(let ((xz (with-boot5 (package-with-bootstrap-guile xz))))
|
||||||
|
(package/inherit xz)))
|
||||||
|
|
||||||
(define (%boot6-inputs)
|
(define (%boot6-inputs)
|
||||||
;; Now use the final Coreutils.
|
;; Now use the final Coreutils.
|
||||||
`(("coreutils" ,coreutils-final)
|
`(("coreutils" ,coreutils-final)
|
||||||
("grep" ,grep-final)
|
("grep" ,grep-final)
|
||||||
,@(%boot5-inputs)))
|
("xz" ,xz-final)
|
||||||
|
,@(fold alist-delete (%boot5-inputs)
|
||||||
|
'("coreutils" "xz"))))
|
||||||
|
|
||||||
(define with-boot6
|
(define with-boot6
|
||||||
(package-with-explicit-inputs %boot6-inputs))
|
(package-with-explicit-inputs %boot6-inputs))
|
||||||
|
@ -3319,7 +3327,6 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
|
||||||
`(("tar" ,tar)
|
`(("tar" ,tar)
|
||||||
("gzip" ,gzip)
|
("gzip" ,gzip)
|
||||||
("bzip2" ,bzip2)
|
("bzip2" ,bzip2)
|
||||||
("xz" ,xz)
|
|
||||||
("file" ,file)
|
("file" ,file)
|
||||||
("diffutils" ,diffutils)
|
("diffutils" ,diffutils)
|
||||||
("patch" ,patch)
|
("patch" ,patch)
|
||||||
|
@ -3327,6 +3334,7 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
|
||||||
("gawk" ,gawk)))
|
("gawk" ,gawk)))
|
||||||
("sed" ,sed-final)
|
("sed" ,sed-final)
|
||||||
("grep" ,grep-final)
|
("grep" ,grep-final)
|
||||||
|
("xz" ,xz-final)
|
||||||
("coreutils" ,coreutils-final)
|
("coreutils" ,coreutils-final)
|
||||||
("make" ,gnu-make-final)
|
("make" ,gnu-make-final)
|
||||||
("bash" ,bash-final)
|
("bash" ,bash-final)
|
||||||
|
|
Reference in New Issue