diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-01-01 12:56:31 -0500 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-01-03 16:03:26 -0500 |
commit | a5b00d2733d817df35c54749789be69bd53f66fd (patch) | |
tree | c0fe4d85fb84bb3b39cc87dceff1af1b07e1653e /gnu/packages/bootloaders.scm | |
parent | ec3c37d73327c49644656e66e922edf95bee8719 (diff) | |
download | guix-a5b00d2733d817df35c54749789be69bd53f66fd.tar.gz guix-a5b00d2733d817df35c54749789be69bd53f66fd.zip |
gnu: dtc: Use gexps.
* gnu/packages/bootloaders.scm (dtc) [arguments]: Use gexps.
Diffstat (limited to 'gnu/packages/bootloaders.scm')
-rw-r--r-- | gnu/packages/bootloaders.scm | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm index c93c27e3e5..41e33a24b5 100644 --- a/gnu/packages/bootloaders.scm +++ b/gnu/packages/bootloaders.scm @@ -574,25 +574,23 @@ The SUBDIR argument defaults to \"efi/Guix\", as it is also the case for "0xm38h31jb29xfh2sfyk48d8wdfq4b8lmb412zx9vjr35izjb9iq")))) (build-system gnu-build-system) (arguments - `(#:make-flags - (list (string-append "CC=" ,(cc-for-target)) - - ;; /bin/fdt{get,overlay,put} need help finding libfdt.so.1. - (string-append "LDFLAGS=-Wl,-rpath=" - (assoc-ref %outputs "out") "/lib") - - (string-append "PREFIX=" (assoc-ref %outputs "out")) - (string-append "SETUP_PREFIX=" (assoc-ref %outputs "out")) - "INSTALL=install") - #:phases - (modify-phases %standard-phases - (add-after 'unpack 'patch-pkg-config - (lambda _ - (substitute* '("Makefile" - "tests/run_tests.sh") - (("pkg-config") - ,(pkg-config-for-target))))) - (delete 'configure)))) ; no configure script + (list + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + ;; /bin/fdt{get,overlay,put} need help finding libfdt.so.1. + (string-append "LDFLAGS=-Wl,-rpath=" #$output "/lib") + (string-append "PREFIX=" #$output) + (string-append "SETUP_PREFIX=" #$output) + "INSTALL=install") + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-pkg-config + (lambda _ + (substitute* '("Makefile" + "tests/run_tests.sh") + (("pkg-config") + #$(pkg-config-for-target))))) + (delete 'configure)))) ;no configure script (native-inputs (append (list bison |