gnu: i2c-tools: Fix cross-compilation.

* gnu/packages/linux.scm (i2c-tools)[arguments]: Use #$output to fix
cross-compilation.
This commit is contained in:
Mathieu Othacehe 2022-01-10 17:28:41 +01:00
parent c78f916a46
commit d91de53caa
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -4463,8 +4463,9 @@ (define-public i2c-tools
(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