mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 14:28:15 -05:00
gnu: cowsay: Use INVOKE.
* gnu/packages/games.scm (cowsay)[arguments]: Use INVOKE in build phases.
This commit is contained in:
parent
4665d8c943
commit
482bdf2522
1 changed files with 5 additions and 5 deletions
|
@ -338,14 +338,14 @@ (define-public cowsay
|
|||
(delete 'build) ; nothing to be built
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(zero? (system* "sh" "install.sh"
|
||||
(assoc-ref outputs "out")))))
|
||||
(invoke "sh" "install.sh"
|
||||
(assoc-ref outputs "out"))))
|
||||
(delete 'check)
|
||||
(add-after 'install 'check
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(zero? (system* (string-append (assoc-ref outputs "out")
|
||||
"/bin/cowsay")
|
||||
"We're done!")))))))
|
||||
(invoke (string-append (assoc-ref outputs "out")
|
||||
"/bin/cowsay")
|
||||
"We're done!"))))))
|
||||
(inputs
|
||||
`(("perl" ,perl)))
|
||||
(home-page (string-append "https://web.archive.org/web/20071026043648/"
|
||||
|
|
Loading…
Reference in a new issue