aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-01-12 12:36:09 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-01-12 12:36:09 +0200
commite773326cc23468bf842c7e9843ebd1660fb0f9dd (patch)
treec8093a03e42fcfe5fc9eccadc52ea0eb7f5224a2 /gnu
parent28302e04ae1f9e3dd73859a166ad16f51598c2b2 (diff)
downloadguix-e773326cc23468bf842c7e9843ebd1660fb0f9dd.tar
guix-e773326cc23468bf842c7e9843ebd1660fb0f9dd.tar.gz
gnu: tree: Fix cross-compiling.
* gnu/packages/admin.scm (tree)[arguments]: Use cc-for-taget.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/admin.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index d769a40ce9..6289b89e9a 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2405,10 +2405,11 @@ recover lost partitions and/or make non-booting disks bootable again.")
(base32 "0f92vx6gpz7v29wi9clklzah57v7lgx5kv0m1w4b9xjc35d9qcz3"))))
(build-system gnu-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases (delete 'configure))
+ `(#:phases (modify-phases %standard-phases (delete 'configure))
#:tests? #f ; no check target
#:make-flags (let ((out (assoc-ref %outputs "out")))
- (list (string-append "PREFIX=" out)))))
+ (list (string-append "PREFIX=" out)
+ (string-append "CC=" ,(cc-for-target))))))
(synopsis "Recursively list the contents of a directory")
(description
"Tree is a recursive directory listing command that produces a depth