diff options
author | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-08-28 16:04:47 +0800 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-08-28 16:06:02 +0800 |
commit | 53396a22afc04536ddf75d8f82ad2eafa5082725 (patch) | |
tree | d6d830512c16e46521fab9a956c1842ab2fcdea9 /gnu | |
parent | e804efb1c70e15d03d40f4cc435cf890aa5e4123 (diff) | |
download | guix-53396a22afc04536ddf75d8f82ad2eafa5082725.tar.gz guix-53396a22afc04536ddf75d8f82ad2eafa5082725.zip |
gnu: parallel: Fix cross-compilation.
* gnu/packages/parallel.scm (parallel)[arguments]<#:phases>: when tests?, run
post-install-test.
Change-Id: I5aabf0a80e0c314e9cb86bfa96de561ae5fcaa49
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/parallel.scm | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm index 0e06ef4324..ce1f4f9f79 100644 --- a/gnu/packages/parallel.scm +++ b/gnu/packages/parallel.scm @@ -117,11 +117,12 @@ '("perl" "procps"))))))) (add-after 'wrap-program 'post-install-test - (lambda* (#:key outputs #:allow-other-keys) - (invoke (string-append - (assoc-ref outputs "out") "/bin/parallel") - "echo" - ":::" "1" "2" "3")))))) + (lambda* (#:key tests? outputs #:allow-other-keys) + (when tests? + (invoke (string-append + (assoc-ref outputs "out") "/bin/parallel") + "echo" + ":::" "1" "2" "3"))))))) (native-inputs (list perl pod2pdf)) (inputs |