me
/
guix
Archived
1
0
Fork 0

gnu: grub-efi32: Fix indentation.

* gnu/packages/bootloaders.scm (grub-efi32): Fix indentation.
master
Maxim Cournoyer 2022-12-01 11:27:19 -05:00
parent 1a1a5aad2c
commit 76259d7305
No known key found for this signature in database
GPG Key ID: 1260E46482E63562
1 changed files with 13 additions and 13 deletions

View File

@ -340,21 +340,21 @@ menu to select one of the installed operating systems.")
`(,@(substitute-keyword-arguments (package-arguments grub-efi)
((#:configure-flags flags ''())
`(cons*
,@(cond ((target-x86?) '("--target=i386"))
((target-aarch64?)
(list "--target=arm"
(string-append "TARGET_CC="
(cc-for-target "arm-linux-gnueabihf"))))
((target-arm?) '("--target=arm"))
(else '()))
,flags)))))
,@(cond ((target-x86?) '("--target=i386"))
((target-aarch64?)
(list "--target=arm"
(string-append "TARGET_CC="
(cc-for-target "arm-linux-gnueabihf"))))
((target-arm?) '("--target=arm"))
(else '()))
,flags)))))
(native-inputs
(if (target-aarch64?)
(modify-inputs (package-native-inputs grub-efi)
(prepend
(cross-gcc "arm-linux-gnueabihf")
(cross-binutils "arm-linux-gnueabihf")))
(package-native-inputs grub-efi)))))
(modify-inputs (package-native-inputs grub-efi)
(prepend
(cross-gcc "arm-linux-gnueabihf")
(cross-binutils "arm-linux-gnueabihf")))
(package-native-inputs grub-efi)))))
;; Because grub searches hardcoded paths it's easiest to just build grub
;; again to make it find both grub-pc and grub-efi. There is a command