From 6c0c17527159cfb8c3c68fccec1dfa017b964947 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Fri, 20 Oct 2017 01:38:24 +0200 Subject: [PATCH] =?UTF-8?q?gnu:=20cowsay:=20Swap=20=E2=80=98build=E2=80=99?= =?UTF-8?q?=20and=20=E2=80=98install=E2=80=99=20phases.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/games.scm (cowsay)[arguments]: Invoke ‘install.sh’ during the ‘install’ phase. Delete the ‘build’ phase, as there's nothing to be built. --- gnu/packages/games.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 048d597a2f..6709f02923 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -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")))))