[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: efivar: Use G-expressions.
From: |
guix-commits |
Subject: |
02/03: gnu: efivar: Use G-expressions. |
Date: |
Sat, 19 Feb 2022 06:10:44 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit af50b52ae3dccb89a2210b8609b2b76728c779e9
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Feb 19 12:06:11 2022 +0100
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(-)
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