mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 15:26:47 +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:
parent
edbce464b9
commit
e0f71c802c
1 changed files with 8 additions and 7 deletions
|
@ -368,13 +368,14 @@ (define intltool
|
||||||
("perl-xml-parser" ,perl-xml-parser)
|
("perl-xml-parser" ,perl-xml-parser)
|
||||||
("perl" ,perl)))
|
("perl" ,perl)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases (alist-cons-after
|
`(#:phases
|
||||||
'unpack 'patch-file-references
|
(modify-phases %standard-phases
|
||||||
(lambda* (#:key inputs #:allow-other-keys)
|
(add-after 'unpack 'patch-file-references
|
||||||
(let ((file (assoc-ref inputs "file")))
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
(substitute* "intltool-update.in"
|
(let ((file (assoc-ref inputs "file")))
|
||||||
(("`file") (string-append "`" file "/bin/file")))))
|
(substitute* "intltool-update.in"
|
||||||
%standard-phases)))
|
(("`file") (string-append "`" file "/bin/file")))
|
||||||
|
#t))))))
|
||||||
(home-page "https://launchpad.net/intltool/+download")
|
(home-page "https://launchpad.net/intltool/+download")
|
||||||
(synopsis "Tools to centralise translations of different file formats")
|
(synopsis "Tools to centralise translations of different file formats")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Reference in a new issue