gnu: parallel: Fix cross-compilation.
* gnu/packages/parallel.scm (parallel)[arguments]<#:phases>: when tests?, run post-install-test. Change-Id: I5aabf0a80e0c314e9cb86bfa96de561ae5fcaa49
This commit is contained in:
parent
e804efb1c7
commit
53396a22af
@ -117,11 +117,12 @@
|
|||||||
'("perl"
|
'("perl"
|
||||||
"procps")))))))
|
"procps")))))))
|
||||||
(add-after 'wrap-program 'post-install-test
|
(add-after 'wrap-program 'post-install-test
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key tests? outputs #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
(invoke (string-append
|
(invoke (string-append
|
||||||
(assoc-ref outputs "out") "/bin/parallel")
|
(assoc-ref outputs "out") "/bin/parallel")
|
||||||
"echo"
|
"echo"
|
||||||
":::" "1" "2" "3"))))))
|
":::" "1" "2" "3")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list perl pod2pdf))
|
(list perl pod2pdf))
|
||||||
(inputs
|
(inputs
|
||||||
|
Loading…
Reference in New Issue
Block a user