summaryrefslogtreecommitdiff
path: root/gnu/packages/guile.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-10-17 21:48:08 +0200
committerLudovic Courtès <ludo@gnu.org>2016-10-17 22:06:44 +0200
commit9d356c9c925451634d2d39e3e1b87efa91e8446b (patch)
tree2572a41cc87a901ff1ff84d3308ad0a6552b5dc4 /gnu/packages/guile.scm
parentc21af659b4e6871b9576278cd5745881c696fd70 (diff)
downloadpatches-9d356c9c925451634d2d39e3e1b87efa91e8446b.tar
patches-9d356c9c925451634d2d39e3e1b87efa91e8446b.tar.gz
gnu: guile-lib: Use 'modify-phases'.
* gnu/packages/guile.scm (guile-lib)[arguments]: Use 'modify-phases'.
Diffstat (limited to 'gnu/packages/guile.scm')
-rw-r--r--gnu/packages/guile.scm13
1 files changed, 6 insertions, 7 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 28a52fc70d..0325e63ef9 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -520,13 +520,12 @@ format is also supported.")
"1f9n2b5b5r75lzjinyk6zp6g20g60msa0jpfrk5hhg4j8cy0ih4b"))))
(build-system gnu-build-system)
(arguments
- '(#:phases (alist-cons-before
- 'configure 'patch-module-dir
- (lambda _
- (substitute* "src/Makefile.in"
- (("^moddir[[:blank:]]*=[[:blank:]]*([[:graph:]]+)" _ rhs)
- (string-append "moddir = " rhs "/2.0\n"))))
- %standard-phases)))
+ '(#:phases (modify-phases %standard-phases
+ (add-before 'configure 'patch-module-dir
+ (lambda _
+ (substitute* "src/Makefile.in"
+ (("^moddir[[:blank:]]*=[[:blank:]]*([[:graph:]]+)" _ rhs)
+ (string-append "moddir = " rhs "/2.0\n"))))))))
(inputs `(("guile" ,guile-2.0)))
(home-page "http://www.nongnu.org/guile-lib/")
(synopsis "Collection of useful Guile Scheme modules")