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

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 2dcc6ad775 gnu: dwm: Simplify package.
2dcc6ad775 is described below

commit 2dcc6ad7758bf865e8ede0ccad0a48234faf3238
Author: Cayetano Santos <[email protected]>
AuthorDate: Mon Feb 2 14:01:41 2026 +0100

    gnu: dwm: Simplify package.
    
    * gnu/packages/suckless.scm (dwm)[arguments]<#:make-flags>: Add.
    <#:phases>: Remove ’configure and ’install.
    
    Merges guix/guix!6072
    
    Change-Id: I7f17a5f524b47cd9f5b2b81086287ca5fbea298a
---
 gnu/packages/suckless.scm | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index 34378448af..5cc1140675 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -247,18 +247,15 @@ a custom raw video format with a simple container.")
       #:tests? #f
       #:make-flags
       #~(list
+         (string-append "CC=" #$(cc-for-target))
+         "PREFIX="
+         (string-append "DESTDIR=" #$output)
          (string-append "FREETYPEINC="
                         #$(this-package-input "freetype")
                         "/include/freetype2"))
       #:phases
       #~(modify-phases %standard-phases
-          (replace 'configure
-            (lambda _
-              (substitute* "Makefile" (("\\$\\{CC\\}") #$(cc-for-target)))))
-          (replace 'install
-            (lambda _
-              (invoke "make" "install"
-                      (string-append "DESTDIR=" #$output) "PREFIX=")))
+          (delete 'configure)
           (add-after 'build 'install-xsession
             (lambda _
               ;; Add a .desktop file to xsessions.

Reply via email to