mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
Merge branch 'master' into core-updates
This commit is contained in:
commit
8c72ed923d
227 changed files with 32566 additions and 5104 deletions
|
@ -198,6 +198,18 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
|
|||
(("/bin/sh") "sh")
|
||||
(("execv ") "execvp "))
|
||||
#t)))))))
|
||||
;; We don't want to retain a reference to /gnu/store in the bootstrap
|
||||
;; versions of egrep/fgrep, so we remove the custom phase added since
|
||||
;; grep@2.25. The effect is 'egrep' and 'fgrep' look for 'grep' in
|
||||
;; $PATH.
|
||||
(grep (package
|
||||
(inherit grep)
|
||||
(inputs '()) ;remove PCRE, which is optional
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments grep)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(delete 'fix-egrep-and-fgrep)))))))
|
||||
(finalize (compose static-package
|
||||
package-with-relocatable-glibc)))
|
||||
`(,@(map (match-lambda
|
||||
|
@ -210,17 +222,7 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
|
|||
("patch" ,patch)
|
||||
("coreutils" ,coreutils)
|
||||
("sed" ,sed)
|
||||
;; We don't want to retain a reference to /gnu/store in the
|
||||
;; bootstrap versions of egrep/fgrep, so we remove the custom
|
||||
;; phase added since grep@2.25. The effect is 'egrep' and
|
||||
;; 'fgrep' look for 'grep' in $PATH.
|
||||
("grep" ,(package
|
||||
(inherit grep)
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments grep)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(delete 'fix-egrep-and-fgrep)))))))
|
||||
("grep" ,grep)
|
||||
("gawk" ,gawk)))
|
||||
("bash" ,static-bash))))
|
||||
|
||||
|
@ -531,6 +533,13 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
|
|||
''("LDFLAGS=-ldl"))
|
||||
((#:phases phases '%standard-phases)
|
||||
`(modify-phases ,phases
|
||||
|
||||
;; Do not record the absolute file name of 'sh' in
|
||||
;; (ice-9 popen). This makes 'open-pipe' unusable in
|
||||
;; a build chroot ('open-pipe*' is fine) but avoids
|
||||
;; keeping a reference to Bash.
|
||||
(delete 'pre-configure)
|
||||
|
||||
(add-before 'configure 'static-guile
|
||||
(lambda _
|
||||
(substitute* "libguile/Makefile.in"
|
||||
|
@ -556,7 +565,9 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
|
|||
(name "guile-static-stripped")
|
||||
(build-system trivial-build-system)
|
||||
(arguments
|
||||
`(#:modules ((guix build utils))
|
||||
;; The end result should depend on nothing but itself.
|
||||
`(#:allowed-references ("out")
|
||||
#:modules ((guix build utils))
|
||||
#:builder
|
||||
(let ()
|
||||
(use-modules (guix build utils))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue