guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: commencement: bootstrap-seeds: Use new package style.


From: guix-commits
Subject: 01/03: gnu: commencement: bootstrap-seeds: Use new package style.
Date: Sun, 15 May 2022 02:24:51 -0400 (EDT)

janneke pushed a commit to branch wip-full-source-bootstrap
in repository guix.

commit 02874b2a43a6255c83d67d40c88742b2a4234c27
Author: Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Sat May 14 21:27:55 2022 +0200

    gnu: commencement: bootstrap-seeds: Use new package style.
    
    * gnu/packages/commencement.scm (bootstrap-seeds)[arguments]: Also use gexps
    for inputs and output.
---
 gnu/packages/commencement.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 0390c43023..ffaa5f03de 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -289,9 +289,9 @@ pure Scheme to Tar and decompression in one easy step.")
            #:builder
            #~(begin
                (use-modules (guix build utils))
-               (let ((source (assoc-ref %build-inputs "source"))
-                     (tar (assoc-ref %build-inputs "bootar"))
-                     (out (assoc-ref %outputs "out")))
+               (let ((source #$(package-source this-package))
+                     (tar #$(this-package-native-input "bootar"))
+                     (out #$output))
                  (setenv "PATH" (string-append tar "/bin:"))
                  (invoke "tar" "xvf" source)
                  (mkdir-p out)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]