gnu: perl: Use 'modify-phases'.
* gnu/packages/perl.scm (perl)[arguments]: Use 'modify-phases' instead of 'alist-replace'.master
parent
2068559ba0
commit
f683d67d66
|
@ -51,7 +51,8 @@
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f
|
'(#:tests? #f
|
||||||
#:phases
|
#:phases
|
||||||
(alist-replace
|
(modify-phases %standard-phases
|
||||||
|
(replace
|
||||||
'configure
|
'configure
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let ((out (assoc-ref outputs "out"))
|
(let ((out (assoc-ref outputs "out"))
|
||||||
|
@ -71,8 +72,7 @@
|
||||||
"-Dinstallstyle=lib/perl5"
|
"-Dinstallstyle=lib/perl5"
|
||||||
"-Duseshrplib"
|
"-Duseshrplib"
|
||||||
(string-append "-Dlocincpth=" libc "/include")
|
(string-append "-Dlocincpth=" libc "/include")
|
||||||
(string-append "-Dloclibpth=" libc "/lib")))))
|
(string-append "-Dloclibpth=" libc "/lib")))))))))
|
||||||
%standard-phases)))
|
|
||||||
(native-search-paths (list (search-path-specification
|
(native-search-paths (list (search-path-specification
|
||||||
(variable "PERL5LIB")
|
(variable "PERL5LIB")
|
||||||
(files '("lib/perl5/site_perl")))))
|
(files '("lib/perl5/site_perl")))))
|
||||||
|
|
Reference in New Issue