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:
Mathieu Othacehe 2022-03-12 13:24:56 +01:00
parent f6fa20f923
commit b9b263d350
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -2304,17 +2304,12 @@ (define-public lemonbar-xft
(arguments
(substitute-keyword-arguments (package-arguments lemonbar)
((#:make-flags make-flags)
`(append
,make-flags
(list (string-append
"CFLAGS="
(string-join
(list (string-append
"-I" (assoc-ref %build-inputs "freetype")
"/include/freetype2")
(string-append
"-D" "VERSION="
(format #f "'~s'" ,version))))))))))
#~(#$@make-flags
(format #f "CFLAGS=~a -DVERSION='~s'"
(string-append
"-I" #$(this-package-input "freetype")
"/include/freetype2")
#$version)))))
(home-page "https://github.com/drscream/lemonbar-xft")
(synopsis
(string-append