guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: lemonbar-xft: Fix build.


From: guix-commits
Subject: branch master updated: gnu: lemonbar-xft: Fix build.
Date: Sat, 12 Mar 2022 07:26:49 -0500

This is an automated email from the git hooks/post-receive script.

mothacehe pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new b9b263d350 gnu: lemonbar-xft: Fix build.
b9b263d350 is described below

commit b9b263d3509984b42c5dfdd4fe039a25f1af658c
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Sat Mar 12 13:24:56 2022 +0100

    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 @@ wasting your precious memory.")
       (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]