3
4
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: intltool: Update phase style.

* gnu/packages/glib.scm (intltool)[arguments]: Use MODIFY-PHASES syntax
and end phase with #t.
This commit is contained in:
Tobias Geerinckx-Rice 2018-02-20 04:47:47 +01:00
parent edbce464b9
commit e0f71c802c
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -368,13 +368,14 @@ bindings to call into the C library.")
("perl-xml-parser" ,perl-xml-parser)
("perl" ,perl)))
(arguments
`(#:phases (alist-cons-after
'unpack 'patch-file-references
(lambda* (#:key inputs #:allow-other-keys)
(let ((file (assoc-ref inputs "file")))
(substitute* "intltool-update.in"
(("`file") (string-append "`" file "/bin/file")))))
%standard-phases)))
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-file-references
(lambda* (#:key inputs #:allow-other-keys)
(let ((file (assoc-ref inputs "file")))
(substitute* "intltool-update.in"
(("`file") (string-append "`" file "/bin/file")))
#t))))))
(home-page "https://launchpad.net/intltool/+download")
(synopsis "Tools to centralise translations of different file formats")
(description