gnu: efivar: Remove obsolete workaround.

* gnu/packages/linux.scm (efivar)[arguments]: Remove phase
'kernel-headers-are-system-headers'.
This commit is contained in:
Marius Bakke 2020-02-15 15:48:18 +01:00
parent 4a894c2f09
commit 6388bed78c
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

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