mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: lemonbar-xft: Fix build.
* gnu/packages/wm.scm (lemonbar-xft)[arguments]: Fix the make-flags keyword that now inherits from the lemonbar gexp make-flags keyword.
This commit is contained in:
parent
f6fa20f923
commit
b9b263d350
1 changed files with 6 additions and 11 deletions
|
@ -2304,17 +2304,12 @@ (define-public lemonbar-xft
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments lemonbar)
|
(substitute-keyword-arguments (package-arguments lemonbar)
|
||||||
((#:make-flags make-flags)
|
((#:make-flags make-flags)
|
||||||
`(append
|
#~(#$@make-flags
|
||||||
,make-flags
|
(format #f "CFLAGS=~a -DVERSION='~s'"
|
||||||
(list (string-append
|
(string-append
|
||||||
"CFLAGS="
|
"-I" #$(this-package-input "freetype")
|
||||||
(string-join
|
"/include/freetype2")
|
||||||
(list (string-append
|
#$version)))))
|
||||||
"-I" (assoc-ref %build-inputs "freetype")
|
|
||||||
"/include/freetype2")
|
|
||||||
(string-append
|
|
||||||
"-D" "VERSION="
|
|
||||||
(format #f "'~s'" ,version))))))))))
|
|
||||||
(home-page "https://github.com/drscream/lemonbar-xft")
|
(home-page "https://github.com/drscream/lemonbar-xft")
|
||||||
(synopsis
|
(synopsis
|
||||||
(string-append
|
(string-append
|
||||||
|
|
Loading…
Reference in a new issue