1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-22 17:16:01 +02:00

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:
Tobias Geerinckx-Rice
2017-10-20 01:38:24 +02:00
parent 46ba5337c0
commit 6c0c175271
+3 -3
View File
@@ -261,9 +261,9 @@ the others like yourself, that want what you have.")
(arguments
`(#:phases
(modify-phases %standard-phases
(delete 'configure)
(delete 'install)
(replace 'build
(delete 'configure) ; no configure script
(delete 'build) ; nothing to be built
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(zero? (system* "sh" "install.sh"
(assoc-ref outputs "out")))))