gnu: cowsay: Swap ‘build’ and ‘install’ phases.
* gnu/packages/games.scm (cowsay)[arguments]: Invoke ‘install.sh’ during the ‘install’ phase. Delete the ‘build’ phase, as there's nothing to be built.
This commit is contained in:
parent
46ba5337c0
commit
6c0c175271
|
@ -261,9 +261,9 @@ the others like yourself, that want what you have.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(delete 'configure)
|
(delete 'configure) ; no configure script
|
||||||
(delete 'install)
|
(delete 'build) ; nothing to be built
|
||||||
(replace 'build
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(zero? (system* "sh" "install.sh"
|
(zero? (system* "sh" "install.sh"
|
||||||
(assoc-ref outputs "out")))))
|
(assoc-ref outputs "out")))))
|
||||||
|
|
Loading…
Reference in New Issue