mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-20 14:47:20 +01:00
gnu: efivar: Use G-expressions.
* gnu/packages/linux.scm (efivar)[arguments]: Convert to G-expressions.
This commit is contained in:
parent
5089e9aa06
commit
af50b52ae3
1 changed files with 15 additions and 13 deletions
|
@ -6719,21 +6719,23 @@ (define-public efivar
|
||||||
"0jaka7b4lccswjqiv4liclkj6w78gildg7vd6dnw3wf595pfs67h"))))
|
"0jaka7b4lccswjqiv4liclkj6w78gildg7vd6dnw3wf595pfs67h"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(;; Tests require a UEFI system and is not detected in the chroot.
|
(list
|
||||||
|
;; Tests require a UEFI system and is not detected in the chroot.
|
||||||
#:tests? #f
|
#:tests? #f
|
||||||
#:make-flags (list (string-append "prefix=" %output)
|
#:make-flags
|
||||||
(string-append "libdir=" %output "/lib")
|
#~(list (string-append "prefix=" #$output)
|
||||||
(string-append "CC_FOR_BUILD=" ,(cc-for-target))
|
(string-append "libdir=" #$output "/lib")
|
||||||
(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
|
(string-append "CC_FOR_BUILD=" #$(cc-for-target))
|
||||||
|
(string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'build-deterministically
|
(add-after 'unpack 'build-deterministically
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "src/include/defaults.mk"
|
(substitute* "src/include/defaults.mk"
|
||||||
;; Don't use -march=native.
|
;; Don't use -march=native.
|
||||||
(("-march=native")
|
(("-march=native")
|
||||||
""))))
|
""))))
|
||||||
(delete 'configure))))
|
(delete 'configure))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list mandoc pkg-config))
|
(list mandoc pkg-config))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Loading…
Reference in a new issue