me
/
guix
Archived
1
0
Fork 0

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.
master
Tobias Geerinckx-Rice 2017-10-20 01:38:24 +02:00
parent 46ba5337c0
commit 6c0c175271
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 3 deletions

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")))))