mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 06:42:14 -05:00
gnu: efivar: Remove obsolete workaround.
* gnu/packages/linux.scm (efivar)[arguments]: Remove phase 'kernel-headers-are-system-headers'.
This commit is contained in:
parent
4a894c2f09
commit
6388bed78c
1 changed files with 1 additions and 8 deletions
|
@ -5062,14 +5062,7 @@ (define-public efivar
|
||||||
(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
|
(string-append "LDFLAGS=-Wl,-rpath=" %output "/lib"))
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure))))
|
||||||
(add-before 'build 'kernel-headers-are-system-headers
|
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
|
||||||
(let ((kernel-headers (assoc-ref inputs "kernel-headers")))
|
|
||||||
;; Make sure the kernel headers are treated as system headers
|
|
||||||
;; to suppress a conflict between "util.h" and <linux/fs.h>.
|
|
||||||
(setenv "C_INCLUDE_PATH" (string-append kernel-headers "/include"))
|
|
||||||
#t))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
(inputs
|
(inputs
|
||||||
|
|
Loading…
Reference in a new issue