mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: mkfontdir: Do not propagate 'mkfontscale'.
* gnu/packages/xorg.scm (mkfontdir)[propagated-inputs]: Move 'mkfontscale' to ... [inputs]: ... here. [arguments]: Add 'wrap-mkfontdir' phase.
This commit is contained in:
parent
e48e31bcc8
commit
84b5d9075c
1 changed files with 11 additions and 1 deletions
|
@ -4631,7 +4631,17 @@ (define-public mkfontdir
|
|||
(base32
|
||||
"0c3563kw9fg15dpgx4dwvl12qz6sdqdns1pxa574hc7i5m42mman"))))
|
||||
(build-system gnu-build-system)
|
||||
(propagated-inputs
|
||||
(arguments
|
||||
'(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'wrap-mkfontdir
|
||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(wrap-program (string-append (assoc-ref outputs "out")
|
||||
"/bin/mkfontdir")
|
||||
`("PATH" ":" prefix
|
||||
(,(string-append (assoc-ref inputs "mkfontscale")
|
||||
"/bin")))))))))
|
||||
(inputs
|
||||
`(("mkfontscale" ,mkfontscale)))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
|
|
Loading…
Reference in a new issue