gnu: ovmf: Fix build on x86_64.

This is a follow-up to 2eb95ade8f.

* gnu/packages/firmware.scm (ovmf)[arguments]: Fix the syntax used when
following the x86_64 fork of the arguments.
This commit is contained in:
Efraim Flashner 2017-07-02 00:04:23 +03:00
parent dbde386ee3
commit bfba12695a
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -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