mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
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
1 changed files with 6 additions and 5 deletions
|
@ -117,11 +117,12 @@ (define-public parallel
|
|||
'("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 a new issue