[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/09: gnu: gnu-make: Use 'modify-phases'.
From: |
Efraim Flashner |
Subject: |
02/09: gnu: gnu-make: Use 'modify-phases'. |
Date: |
Mon, 15 Aug 2016 07:43:44 +0000 (UTC) |
efraim pushed a commit to branch core-updates
in repository guix.
commit 6cc83b68cb1b43866327e3f41c4330210ac9a67f
Author: Efraim Flashner <address@hidden>
Date: Sun Aug 14 09:47:28 2016 +0300
gnu: gnu-make: Use 'modify-phases'.
* gnu/packages/base.scm (gnu-make)[arguments]: Use 'modify-phases'.
---
gnu/packages/base.scm | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 2799b28..e7b6589 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -339,16 +339,16 @@ functionality beyond that which is outlined in the POSIX
standard.")
(inputs `(("guile" ,guile-2.0)))
(outputs '("out" "debug"))
(arguments
- '(#:phases (alist-cons-before
- 'build 'set-default-shell
- (lambda* (#:key inputs #:allow-other-keys)
- ;; Change the default shell from /bin/sh.
- (let ((bash (assoc-ref inputs "bash")))
- (substitute* "job.c"
- (("default_shell =.*$")
- (format #f "default_shell = \"~a/bin/bash\";\n"
- bash)))))
- %standard-phases)))
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'set-default-shell
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Change the default shell from /bin/sh.
+ (let ((bash (assoc-ref inputs "bash")))
+ (substitute* "job.c"
+ (("default_shell =.*$")
+ (format #f "default_shell = \"~a/bin/bash\";\n"
+ bash)))))))))
(synopsis "Remake files automatically")
(description
"Make is a program that is used to control the production of
- branch core-updates updated (9372d2b -> 74a3c4b), Efraim Flashner, 2016/08/15
- 07/09: gnu: address@hidden: Update to 5.4.0., Efraim Flashner, 2016/08/15
- 03/09: gnu: binutils: Update to 2.27., Efraim Flashner, 2016/08/15
- 02/09: gnu: gnu-make: Use 'modify-phases'.,
Efraim Flashner <=
- 08/09: gnu: file: Update to 5.28., Efraim Flashner, 2016/08/15
- 01/09: gnu: gnu-make: Update to 4.2.1., Efraim Flashner, 2016/08/15
- 06/09: gnu: address@hidden: Update to 4.9.4., Efraim Flashner, 2016/08/15
- 09/09: gnu: procps: Update to 3.3.12., Efraim Flashner, 2016/08/15
- 04/09: gnu: diffutils: Update to 3.4., Efraim Flashner, 2016/08/15
- 05/09: gnu: gettext: Update to 0.19.8.1., Efraim Flashner, 2016/08/15