diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-02-26 23:00:21 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-02-26 23:00:21 +0100 |
commit | f84218acae6cb323c6c9f7d5957531dae9b9912f (patch) | |
tree | faa8b2db52bbae4813a54066a98098ac2f5d1211 /guix/build/perl-build-system.scm | |
parent | 8ddc41e1f25b643beaa204b1f5c271cfe7f3e0a9 (diff) | |
download | gnu-guix-f84218acae6cb323c6c9f7d5957531dae9b9912f.tar gnu-guix-f84218acae6cb323c6c9f7d5957531dae9b9912f.tar.gz |
build-system: Use 'modify-phases'.
* guix/build/cmake-build-system.scm (%standard-phases): Use
'modify-phases' instead of alist-*.
* guix/build/glib-or-gtk-build-system.scm (%standard-phases): Likewise.
* guix/build/gnu-dist.scm (%dist-phases): Likewise.
* guix/build/perl-build-system.scm (%standard-phases): Likewise.
* guix/build/python-build-system.scm (%standard-phases): Likewise.
* guix/build/ruby-build-system.scm (%standard-phases): Likewise.
* guix/build/waf-build-system.scm (%standard-phases): Likewise.
Diffstat (limited to 'guix/build/perl-build-system.scm')
-rw-r--r-- | guix/build/perl-build-system.scm | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/guix/build/perl-build-system.scm b/guix/build/perl-build-system.scm index 7eb944ccd1..9ca5353bb9 100644 --- a/guix/build/perl-build-system.scm +++ b/guix/build/perl-build-system.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2013, 2015 Ludovic Courtès <ludo@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -71,15 +71,11 @@ (define %standard-phases ;; Everything is as with the GNU Build System except for the `configure', ;; `build', `check', and `install' phases. - (alist-replace - 'configure configure - (alist-replace - 'build build - (alist-replace - 'check check - (alist-replace - 'install install - gnu:%standard-phases))))) + (modify-phases gnu:%standard-phases + (replace install install) + (replace check check) + (replace build build) + (replace configure configure))) (define* (perl-build #:key inputs (phases %standard-phases) #:allow-other-keys #:rest args) |