aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-02-19 12:06:11 +0100
committerMarius Bakke <marius@gnu.org>2022-02-19 12:09:41 +0100
commitaf50b52ae3dccb89a2210b8609b2b76728c779e9 (patch)
tree01608a650f15b5db539928c92f4db08ce06d8e1e
parent5089e9aa0626e6f69b926b97aba75d539fe38f3b (diff)
downloadguix-af50b52ae3dccb89a2210b8609b2b76728c779e9.tar.gz
guix-af50b52ae3dccb89a2210b8609b2b76728c779e9.zip
gnu: efivar: Use G-expressions.
* gnu/packages/linux.scm (efivar)[arguments]: Convert to G-expressions.
-rw-r--r--gnu/packages/linux.scm28
1 files 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