aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJan (janneke) Nieuwenhuizen <janneke@gnu.org>2022-05-14 21:24:52 +0200
committerJan (janneke) Nieuwenhuizen <janneke@gnu.org>2022-05-18 07:48:39 +0200
commit4233bde7ba08bd4f5549bccfb67fd29ff198d8ef (patch)
treea5a53bb8af2da1c933314bbd291f0965dd00f8e7 /gnu/packages
parent0aa2ac9c0a19d9847313d4cf29a20a3dea72f70a (diff)
downloadguix-4233bde7ba08bd4f5549bccfb67fd29ff198d8ef.tar
guix-4233bde7ba08bd4f5549bccfb67fd29ff198d8ef.tar.gz
gnu: commencement: stage0-posix: Use new package style.
* gnu/packages/commencement.scm (stage0-posix)[arguments]: Also use gexps for inputs and output.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/commencement.scm15
1 files changed, 8 insertions, 7 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index ffaa5f03de..0089c2607c 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -365,13 +365,14 @@ hex1, hex2, M1, and M2-Planet.")
#:builder
#~(begin
(use-modules (guix build utils))
- (let* ((bootstrap-seeds (assoc-ref %build-inputs "bootstrap-seeds"))
- (source (assoc-ref %build-inputs "source"))
- (tar (assoc-ref %build-inputs "bootar"))
- (bash (assoc-ref %build-inputs "bash"))
- (coreutils (assoc-ref %build-inputs "coreutils"))
- (guile (assoc-ref %build-inputs "guile"))
- (out (assoc-ref %outputs "out"))
+ (let* ((bootstrap-seeds #$(this-package-native-input
+ "bootstrap-seeds"))
+ (source #$(package-source this-package))
+ (tar #$(this-package-native-input "bootar"))
+ (bash #$(this-package-native-input "bash"))
+ (coreutils #$(this-package-native-input "coreutils"))
+ (guile #$(this-package-input "guile"))
+ (out #$output)
(bindir (string-append out "/bin"))
(target (or #$(%current-target-system)
#$(%current-system)))