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"
|
||||
"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
|
||||
|
Loading…
Reference in New Issue
Block a user