[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48314] [PATCH v4] Install guix system on Raspberry Pi
From: |
Maxime Devos |
Subject: |
[bug#48314] [PATCH v4] Install guix system on Raspberry Pi |
Date: |
Thu, 14 Apr 2022 13:00:25 +0200 |
User-agent: |
Evolution 3.38.3-1 |
phodina schreef op do 14-04-2022 om 09:25 [+0000]:
> (let* ((srcarch
> - ,(system->linux-srcarch (or (%current-target-
> system)
> + $#(system->linux-srcarch (or (%current-
it's #$, not $#
> target-system)
> (%current-
> system))))
> (configs (string-append "arch/" srcarch
> "/configs/"))
> (guix_defconfig (string-append configs
> "guix_defconfig")))
> - ,(cond
> + $#(cond
likewise
> ((not defconfig)
> - `(begin
> + $~(begin
in this case #~
> ;; Call the original 'configure phase.
> - (apply (assoc-ref ,phases 'configure)
> arguments)
> + (apply (assoc-ref $#phases 'configure)
> arguments)
#$
> ;; Save a defconfig file.
> (invoke "make" "savedefconfig")
> ;; Move the saved defconfig to the proper
> location.
> @@ -1309,19 +1309,18 @@ (define*-public (modify-linux #:key name
> guix_defconfig)))
> ((string? defconfig)
> ;; Use another existing defconfig from the Linux
> sources.
> - `(rename-file (string-append configs ,defconfig)
> + $~(rename-file (string-append configs
> $#defconfig)
#~ and #$
> guix_defconfig))
> (else
> ;; Copy the defconfig input to the proper
> location.
> '(copy-file (assoc-ref inputs "guix_defconfig")
> guix_defconfig)))
> - (modify-defconfig guix_defconfig ',configs)
> - ,@(if extra-version
> - `((setenv "EXTRAVERSION"
> - ,(string-append "-" extra-
> version)))
> + (modify-defconfig guix_defconfig '$#configs)
> + $#@(if extra-version
#$@
> + $~((setenv "EXTRAVERSION"
#~
> + $#(string-append "-" extra-
> version)))
#$
> '())
> - (invoke "make" "guix_defconfig"))
> - #t))))))
> + (invoke "make" "guix_defconfig"))))))))
Greetings,
Maxime.
signature.asc
Description: This is a digitally signed message part
[bug#48314] [PATCH v3] Install guix system on Raspberry Pi, Maxime Devos, 2022/04/14