[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: gnu: ovmf-aarch64: Fix syntax error on aarch64-linux.
From: |
guix-commits |
Subject: |
02/06: gnu: ovmf-aarch64: Fix syntax error on aarch64-linux. |
Date: |
Thu, 12 Jan 2023 21:23:39 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 2a93b66882c5d52b3872a26b19a609dd2b4e99fb
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Jan 12 04:10:20 2023 +0100
gnu: ovmf-aarch64: Fix syntax error on aarch64-linux.
* gnu/packages/firmware.scm (ovmf-aarch64)[arguments]: Don't add an empty
set-env phase when building for aarch64.
---
gnu/packages/firmware.scm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index f08d59752a..529200118d 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -894,11 +894,11 @@ Virtual Machines. OVMF contains a sample UEFI firmware
for QEMU and KVM.")
(substitute-keyword-arguments (package-arguments ovmf)
((#:phases phases)
#~(modify-phases #$phases
- (add-before 'configure 'set-env
- (lambda _
- #$@(if (not (string-prefix? "aarch64" (%current-system)))
- #~((setenv "GCC49_AARCH64_PREFIX" "aarch64-linux-gnu-"))
- #~())))
+ #$@(if (string-prefix? "aarch64" (%current-system))
+ '()
+ '((add-before 'configure 'set-env
+ (lambda _
+ (setenv "GCC49_AARCH64_PREFIX"
"aarch64-linux-gnu-")))))
(replace 'build
(lambda _
(invoke "build" "-a" "AARCH64" "-t" "GCC49"
- branch master updated (505d7ce025 -> 7f7907335d), guix-commits, 2023/01/12
- 02/06: gnu: ovmf-aarch64: Fix syntax error on aarch64-linux.,
guix-commits <=
- 01/06: gnu: ungoogled-chromium: Update to 109.0.5414.74-1., guix-commits, 2023/01/12
- 04/06: gnu: rdma-core: Remove input labels., guix-commits, 2023/01/12
- 05/06: gnu: rdma-core: Update to 44.0., guix-commits, 2023/01/12
- 06/06: gnu: python-cellbender: Update source hash., guix-commits, 2023/01/12
- 03/06: gnu: ovmf-arm: Fix syntax error on armhf-linux., guix-commits, 2023/01/12