From d91de53caac386355f9bd15c79a8f02b4387f789 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Mon, 10 Jan 2022 17:28:41 +0100 Subject: gnu: i2c-tools: Fix cross-compilation. * gnu/packages/linux.scm (i2c-tools)[arguments]: Use #$output to fix cross-compilation. --- gnu/packages/linux.scm | 5 +++-- 1 file 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 -- cgit 1.4.1