diff options
author | Artyom V. Poptsov <poptsov.artyom@gmail.com> | 2024-08-28 19:27:41 +0300 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-08-29 11:12:09 +0800 |
commit | 7779ed9aedb3f417280fedbfe7b85504d7fcfc3b (patch) | |
tree | 16e07bc6e061f39ed2e80636fc5710bef7e1ead6 /gnu/packages/textutils.scm | |
parent | e8f54ad464197f99d6d7760db042d0b3a4af39f6 (diff) | |
download | guix-7779ed9aedb3f417280fedbfe7b85504d7fcfc3b.tar guix-7779ed9aedb3f417280fedbfe7b85504d7fcfc3b.tar.gz |
gnu: uniutils: Use GEXPs.
* gnu/packages/textutils.scm (uniutils): Use GEXPs.
Change-Id: I9e59018b41820778b92e69aad2f64c715986c4e9
Signed-off-by: Zheng Junjie <zhengjunjie@iscas.ac.cn>
Diffstat (limited to 'gnu/packages/textutils.scm')
-rw-r--r-- | gnu/packages/textutils.scm | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 054146682f..2b3fc55425 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -497,19 +497,18 @@ useful when it is desired to reformat numbers. (base32 "0z4ibnd2zzya489vl84cfh82bmdwdhf0isf1myqwrs3s9s0vqyyn")))) (build-system gnu-build-system) (arguments - '(#:configure-flags '("--disable-dependency-tracking") - #:phases - (modify-phases %standard-phases - (add-after 'build 'fix-paths - (lambda* (#:key outputs inputs #:allow-other-keys) - (let ((out (assoc-ref outputs "out")) - (a2b (assoc-ref inputs "ascii2binary")) - (iconv (assoc-ref inputs "libiconv"))) - (substitute* "utf8lookup" - (("^ascii2binary ") (string-append a2b "/bin/ascii2binary ")) - (("^uniname ") (string-append out "/bin/uniname ")) - (("^iconv ") (string-append iconv "/bin/iconv "))) - #t)))))) + (list #:configure-flags #~(list "--disable-dependency-tracking") + #:phases + #~(modify-phases %standard-phases + (add-after 'build 'fix-paths + (lambda* (#:key outputs inputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (a2b (assoc-ref inputs "ascii2binary")) + (iconv (assoc-ref inputs "libiconv"))) + (substitute* "utf8lookup" + (("^ascii2binary ") (string-append a2b "/bin/ascii2binary ")) + (("^uniname ") (string-append out "/bin/uniname ")) + (("^iconv ") (string-append iconv "/bin/iconv "))))))))) (inputs (list ascii2binary libiconv)) (home-page "https://billposer.org/Software/unidesc.html") |