guix_mirror_bot pushed a commit to branch core-packages-team in repository guix.
commit 96b4a4b6d8e7b3ebbffde57a4d684aeeef872043 Author: Yelninei <[email protected]> AuthorDate: Thu Apr 23 06:54:20 2026 +0000 gnu: sed: Update to 4.10. * gnu/packages/base.scm (sed): Update to 4.10. [native-inputs]: Remove config for loongarch64. [arguments]<#:phases>: Remove 'update-config-scripts on loongarch64. * gnu/packages/commencement.scm (sed-boot0): Add 'fix-gnulib-test phase. Change-Id: I136ec290ea4bf7e56e8b6e0499c3dcca7fa833d5 --- gnu/packages/base.scm | 22 +++------------------- gnu/packages/commencement.scm | 18 ++++++++++++++---- 2 files changed, 17 insertions(+), 23 deletions(-) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 231a005b54f..d6108ffd106 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -197,33 +197,17 @@ including, for example, recursive directory searching.") (define-public sed (package (name "sed") - (version "4.9") + (version "4.10") (source (origin (method url-fetch) (uri (string-append "mirror://gnu/sed/sed-" version ".tar.gz")) (sha256 (base32 - "0bi808vfkg3szmpy9g5wc7jnn2yk6djiz412d30km9rky0c8liyi")))) + "0xsj5xq22ljhbawssw29dy2s3ff3w4mh6z0zakndri1fz7x9y5sd")))) (build-system gnu-build-system) (synopsis "Stream editor") - (native-inputs (append (if (target-loongarch64?) - (list config) - '()) - (list perl))) ;for tests - (arguments (if (target-loongarch64?) - (list #:phases - #~(modify-phases %standard-phases - (add-after 'unpack 'update-config-scripts - (lambda* (#:key inputs native-inputs #:allow-other-keys) - ;; Replace outdated config.guess and config.sub. - (for-each (lambda (file) - (install-file - (search-input-file - (or native-inputs inputs) - (string-append "/bin/" file)) "./build-aux")) - '("config.guess" "config.sub")))))) - '())) + (native-inputs (list perl)) ;for tests (description "Sed is a non-interactive, text stream editor. It receives a text input from a file or from standard input and it then applies a series of text diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index ee5ce9e9c08..71db117d84f 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -2236,10 +2236,20 @@ exec " gcc-bin "/" program (native-inputs '()) (inputs (cons* gnu-make-boot0 (%bootstrap-inputs+toolchain))) (arguments - (list - #:implicit-inputs? #f - #:tests? #f - #:guile %bootstrap-guile)))) + (append + (list + #:implicit-inputs? #f + #:tests? #f + #:guile %bootstrap-guile) + (substitute-keyword-arguments arguments + ((#:phases phases #~%standard-phases) + #~(modify-phases #$phases + (add-after 'unpack 'fix-gnulib-test + (lambda _ + ;; vma-iter test needs <linux/fs.h> which is not public + ;; in %bootstrap-linux-libre-headers + (substitute* '("gnulib-tests/vma-iter.c") + (("# include <linux/fs.h>") ""))))))))))) (define tar-boot0 (package
