aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2022-01-10 17:28:41 +0100
committerMathieu Othacehe <othacehe@gnu.org>2022-01-10 17:29:19 +0100
commitd91de53caac386355f9bd15c79a8f02b4387f789 (patch)
treecad492119085fa5409fbcda8ba3475221047fc4d
parentc78f916a46de8fcca15e9d65b9190534ba2cecd8 (diff)
downloadguix-d91de53caac386355f9bd15c79a8f02b4387f789.tar
guix-d91de53caac386355f9bd15c79a8f02b4387f789.tar.gz
gnu: i2c-tools: Fix cross-compilation.
* gnu/packages/linux.scm (i2c-tools)[arguments]: Use #$output to fix cross-compilation.
-rw-r--r--gnu/packages/linux.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 7b3996f770..9bc32832c6 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4463,8 +4463,9 @@ create a firmware image suitable for the Linux kernel, and more.")
(build-system gnu-build-system)
(arguments
`(#:tests? #f ; no 'check' target
- #:make-flags (list (string-append "prefix=" %output)
- ,(string-append "CC=" (cc-for-target)))
+ #:make-flags
+ ,#~(list (string-append "prefix=" #$output)
+ (string-append "CC=" #$(cc-for-target)))
;; No configure script.
#:phases (modify-phases %standard-phases (delete 'configure))))
(inputs