mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-05-07 17:14:06 +00:00
rosenthal: alloy-bin: Use ‘mapping-for-system’.
This commit is contained in:
parent
a42b6b4d24
commit
7c6e2c6c98
@ -506,14 +506,9 @@ rather a set of labels for each log stream.")
|
|||||||
(delete 'check)
|
(delete 'check)
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda _
|
(lambda _
|
||||||
(let ((src
|
(let ((src #$(mapping-for-system
|
||||||
(match #$(or (and=> (%current-target-system)
|
'(("x86_64-linux" . "alloy-linux-amd64")
|
||||||
platform-target->system)
|
("aarch64-linux" . "alloy-linux-arm64"))))
|
||||||
(%current-system))
|
|
||||||
("aarch64-linux"
|
|
||||||
"alloy-linux-arm64")
|
|
||||||
(_
|
|
||||||
"alloy-linux-amd64")))
|
|
||||||
(dst (in-vicinity #$output "bin/alloy")))
|
(dst (in-vicinity #$output "bin/alloy")))
|
||||||
(mkdir-p (dirname dst))
|
(mkdir-p (dirname dst))
|
||||||
(copy-file src dst))))
|
(copy-file src dst))))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user