aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorZheng Junjie <zhengjunjie@iscas.ac.cn>2024-09-26 15:04:07 +0800
committerZheng Junjie <zhengjunjie@iscas.ac.cn>2024-09-27 19:08:06 +0800
commit8be5bc3044b1701976d80385174273e3e089cfbe (patch)
tree137dd969d3c6750020fee6e1ecf065b40034d632 /gnu/packages
parent81c75d5e86448b1855714f7ccd636ffb9a81611e (diff)
downloadguix-8be5bc3044b1701976d80385174273e3e089cfbe.tar.gz
guix-8be5bc3044b1701976d80385174273e3e089cfbe.zip
gnu: fnc: fix cross-compiling.
* gnu/packages/version-control.scm (fnc)[arguments]<#:phases>: Add don-t-use-install-s phase. Change-Id: I2d0fb7d31055fe5f33706eed6df813c89ff5cc16
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/version-control.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 15cd5d2db0..c1e9c7e5dd 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -3009,7 +3009,13 @@ modification time.")
(arguments
(list
#:phases #~(modify-phases %standard-phases
- (delete 'configure))
+ (delete 'configure)
+ ;; fix cross-compiling.
+ (add-after 'unpack 'don-t-use-install-s
+ (lambda _
+ (substitute* "fnc.bld.mk"
+ (("install -s")
+ "install")))))
#:tests? #f ; no tests
#:make-flags #~(list (string-append "CC=" #$(cc-for-target))
(string-append "PREFIX=" #$output))))