summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-07-02 00:04:23 +0300
committerEfraim Flashner <efraim@flashner.co.il>2017-07-02 13:13:35 +0300
commitbfba12695a9d33d672cc3c5ca9ee9d6a34607a83 (patch)
treeb0f71f9f0d4771920519c39247a0a6ff43d65d1e
parentdbde386ee315a88503980bc40095765288f15d0a (diff)
downloadpatches-bfba12695a9d33d672cc3c5ca9ee9d6a34607a83.tar
patches-bfba12695a9d33d672cc3c5ca9ee9d6a34607a83.tar.gz
gnu: ovmf: Fix build on x86_64.
This is a follow-up to 2eb95ade8f08bfd418b1470f1093c5b4bf2332ee. * gnu/packages/firmware.scm (ovmf)[arguments]: Fix the syntax used when following the x86_64 fork of the arguments.
-rw-r--r--gnu/packages/firmware.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/gnu/packages/firmware.scm b/gnu/packages/firmware.scm
index 1da248001e..8d0b824784 100644
--- a/gnu/packages/firmware.scm
+++ b/gnu/packages/firmware.scm
@@ -277,13 +277,13 @@ use of coreboot.")
"ACTIVE_PLATFORM = OvmfPkg/OvmfPkgIa32.dsc\n"))
(zero? (system* "build"))))
,@(if (string=? "x86_64-linux" (%current-system))
- '(add-after 'build 'build-x64
- (lambda _
- (substitute* "Conf/target.txt"
- (("^TARGET_ARCH[ ]*=.*$") "TARGET_ARCH = X64\n")
- (("^ACTIVE_PLATFORM[ ]*=.*$")
- "ACTIVE_PLATFORM = OvmfPkg/OvmfPkgX64.dsc\n"))
- (zero? (system* "build"))))
+ '((add-after 'build 'build-x64
+ (lambda _
+ (substitute* "Conf/target.txt"
+ (("^TARGET_ARCH[ ]*=.*$") "TARGET_ARCH = X64\n")
+ (("^ACTIVE_PLATFORM[ ]*=.*$")
+ "ACTIVE_PLATFORM = OvmfPkg/OvmfPkgX64.dsc\n"))
+ (zero? (system* "build")))))
'())
(delete 'build)
(replace 'install