~ruther/guix-local

00d42f6b3ff681b5f4da49e5e401d727b95ea579 — Maxim Cournoyer 1 year, 3 months ago 8b6e9ac
gnu: ovmf-x86-64: Fix indentation.

* gnu/packages/firmware.scm (ovmf-x86-64): Fix indentation.

Change-Id: I663987b2ea69c7d6e1d8eaf35ad6bd8a6395c7df
1 files changed, 16 insertions(+), 16 deletions(-)

M gnu/packages/firmware.scm
M gnu/packages/firmware.scm => gnu/packages/firmware.scm +16 -16
@@ 1007,22 1007,22 @@ Virtual Machines.  OVMF contains a sample UEFI firmware for QEMU and KVM.")
      (inherit base)
      (name "ovmf-x86-64")
      (arguments
        (substitute-keyword-arguments (package-arguments base)
          ((#:phases phases)
           #~(modify-phases #$phases
               (replace 'install
                 (lambda _
                   (let ((fmw (string-append #$output "/share/firmware")))
                     (mkdir-p fmw)
                     (for-each
                       (lambda (file)
                         (copy-file
                           (string-append "Build/OvmfX64/RELEASE_GCC"
                                          "/FV/" file ".fd")
                           (string-append fmw "/" (string-downcase file) "_x64.bin")))
                       (list "OVMF"
                             "OVMF_CODE"
                             "OVMF_VARS"))))))))))))
       (substitute-keyword-arguments (package-arguments base)
         ((#:phases phases)
          #~(modify-phases #$phases
              (replace 'install
                (lambda _
                  (let ((fmw (string-append #$output "/share/firmware")))
                    (mkdir-p fmw)
                    (for-each
                     (lambda (file)
                       (copy-file
                        (string-append "Build/OvmfX64/RELEASE_GCC"
                                       "/FV/" file ".fd")
                        (string-append fmw "/" (string-downcase file) "_x64.bin")))
                     (list "OVMF"
                           "OVMF_CODE"
                           "OVMF_VARS"))))))))))))

(define-public ovmf-i686
  (let ((base (make-ovmf-firmware "i686")))