guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/22: gnu: efivar: Remove obsolete workaround.


From: guix-commits
Subject: 02/22: gnu: efivar: Remove obsolete workaround.
Date: Sat, 15 Feb 2020 16:09:00 -0500 (EST)

mbakke pushed a commit to branch core-updates
in repository guix.

commit 6388bed78cf6e9126b53e2a2ef832765a0373ab7
Author: Marius Bakke <address@hidden>
AuthorDate: Sat Feb 15 15:48:18 2020 +0100

    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 7793bf4..2bf7b4b 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 <linux/fs.h>.
-             (setenv "C_INCLUDE_PATH" (string-append kernel-headers 
"/include"))
-             #t))))))
+         (delete 'configure))))
     (native-inputs
      `(("pkg-config" ,pkg-config)))
     (inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]