From af50b52ae3dccb89a2210b8609b2b76728c779e9 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 19 Feb 2022 12:06:11 +0100 Subject: gnu: efivar: Use G-expressions. * gnu/packages/linux.scm (efivar)[arguments]: Convert to G-expressions. --- gnu/packages/linux.scm | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 7a61cb9f61..0ea9474db5 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -6719,21 +6719,23 @@ under OpenGL graphics workloads.") "0jaka7b4lccswjqiv4liclkj6w78gildg7vd6dnw3wf595pfs67h")))) (build-system gnu-build-system) (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 - #:make-flags (list (string-append "prefix=" %output) - (string-append "libdir=" %output "/lib") - (string-append "CC_FOR_BUILD=" ,(cc-for-target)) - (string-append "LDFLAGS=-Wl,-rpath=" %output "/lib")) + #:make-flags + #~(list (string-append "prefix=" #$output) + (string-append "libdir=" #$output "/lib") + (string-append "CC_FOR_BUILD=" #$(cc-for-target)) + (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib")) #:phases - (modify-phases %standard-phases - (add-after 'unpack 'build-deterministically - (lambda _ - (substitute* "src/include/defaults.mk" - ;; Don't use -march=native. - (("-march=native") - "")))) - (delete 'configure)))) + #~(modify-phases %standard-phases + (add-after 'unpack 'build-deterministically + (lambda _ + (substitute* "src/include/defaults.mk" + ;; Don't use -march=native. + (("-march=native") + "")))) + (delete 'configure)))) (native-inputs (list mandoc pkg-config)) (inputs -- cgit v1.2.3