summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2025-03-23 01:16:17 +0100
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:31 +0200
commit6610c6cbfc5ab7805d9245f649ed7401598bd0a5 (patch)
treef662e79f067a8d66c6cb44f2e74a170e09247356 /gnu/packages
parent87f0ad602b8a68f507050ac0d4db6bbeebbba911 (diff)
gnu: gash-boot: Remove input labels.
* gnu/packages/commencement.scm (gash-boot)[arguments]: Use #:modules instead of a non-top-level ‘use-modules’. Turn #:phases into a gexp. [inputs, native-inputs]: Remove labels. Change-Id: I1e18b3ef76bb681494f76dded0dbd3b88cb9c462
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/commencement.scm49
1 files changed, 26 insertions, 23 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index d90f5fe10c7..79da18ed5b3 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -205,29 +205,32 @@ pure Scheme to Tar and decompression in one easy step.")
(inherit gash)
(name "gash-boot")
(arguments
- `(#:implicit-inputs? #f
- #:tests? #f
- #:guile ,%bootstrap-guile
- #:imported-modules ((guix build gnu-bootstrap)
- ,@%default-gnu-imported-modules)
- #:phases
- (begin
- (use-modules (guix build gnu-bootstrap))
- (modify-phases %standard-phases
- (replace 'configure
- (bootstrap-configure "Gash" ,(package-version gash)
- '("gash") "scripts"))
- (replace 'build (bootstrap-build '("gash")))
- (replace 'install (bootstrap-install '("gash") "scripts"))
- (add-after 'install 'install-symlinks
- (lambda* (#:key outputs #:allow-other-keys)
- (let ((out (assoc-ref outputs "out")))
- (symlink (string-append out "/bin/gash")
- (string-append out "/bin/sh"))
- (symlink (string-append out "/bin/gash")
- (string-append out "/bin/bash")))))))))
- (inputs `(("guile" ,%bootstrap-guile)))
- (native-inputs `(("bootar" ,bootar)))))
+ (list #:implicit-inputs? #f
+ #:tests? #f
+ #:guile %bootstrap-guile
+ #:imported-modules `((guix build gnu-bootstrap)
+ ,@%default-gnu-imported-modules)
+ #:modules `((guix build gnu-bootstrap)
+ ,@%default-gnu-modules)
+ #:phases
+ #~(modify-phases %standard-phases
+ (replace 'configure
+ (bootstrap-configure "Gash"
+ #$(package-version gash)
+ '("gash") "scripts"))
+ (replace 'build
+ (bootstrap-build '("gash")))
+ (replace 'install
+ (bootstrap-install '("gash") "scripts"))
+ (add-after 'install 'install-symlinks
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let ((out (assoc-ref outputs "out")))
+ (symlink (string-append out "/bin/gash")
+ (string-append out "/bin/sh"))
+ (symlink (string-append out "/bin/gash")
+ (string-append out "/bin/bash"))))))))
+ (inputs (list %bootstrap-guile))
+ (native-inputs (list bootar))))
(define gash-utils-boot
(package