From b9b263d3509984b42c5dfdd4fe039a25f1af658c Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Sat, 12 Mar 2022 13:24:56 +0100 Subject: [PATCH] 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. --- gnu/packages/wm.scm | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm index 8a691f24b3..3de760d7a6 100644 --- a/gnu/packages/wm.scm +++ b/gnu/packages/wm.scm @@ -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