From 6388bed78cf6e9126b53e2a2ef832765a0373ab7 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 15 Feb 2020 15:48:18 +0100 Subject: gnu: efivar: Remove obsolete workaround. * gnu/packages/linux.scm (efivar)[arguments]: Remove phase 'kernel-headers-are-system-headers'. --- gnu/packages/linux.scm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 7793bf4d7c..2bf7b4bee9 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -5062,14 +5062,7 @@ under OpenGL graphics workloads.") (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")) #:phases (modify-phases %standard-phases - (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 . - (setenv "C_INCLUDE_PATH" (string-append kernel-headers "/include")) - #t)))))) + (delete 'configure)))) (native-inputs `(("pkg-config" ,pkg-config))) (inputs -- cgit v1.2.3