gnu: guile-lib: Use 'modify-phases'.

* gnu/packages/guile.scm (guile-lib)[arguments]: Use 'modify-phases'.
This commit is contained in:
Ludovic Courtès 2016-10-17 21:48:08 +02:00
parent c21af659b4
commit 9d356c9c92
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -520,13 +520,12 @@ (define-public guile-lib
"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")