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 (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