Subject: [PATCH] gnu: wlogout: Fix paths to assets
From: Ashish SHUKLA <[email-masked]>
To: [email-masked]
Cc: Ashish SHUKLA <[email-masked]>
Date: Sun, 2 Feb 2025 07:53:20 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/wm.scm (wlogout): [#:phases]
<patch-source-paths>: Substitute paths in style.css.

Change-Id: I128581608e29294cbc4165e9ebd7d1e505e90b4f
---
 gnu/packages/wm.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/wm.scm b/gnu/packages/wm.scm
index dbec72698a..240f8cd3a3 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -75,7 +75,7 @@
 ;;; Copyright © 2024 bigbug <[email-masked]>
 ;;; Copyright © 2024 dan <[email-masked]>
 ;;; Copyright © 2024 Wamm K. D. <[email-masked]>
-;;; Copyright © 2024 Ashish SHUKLA <[email-masked]>
+;;; Copyright © 2024, 2025 Ashish SHUKLA <[email-masked]>
 ;;; Copyright © 2024 Josep Bigorra <[email-masked]>
 ;;; Copyright © 2024 Jakob Kirsch <[email-masked]>
 ;;; Copyright © 2025 Tomáš Čech <[email-masked]>
@@ -3804,7 +3804,7 @@ (define-public wlogout
          (add-after 'unpack  'patch-source-paths
            (lambda* (#:key outputs #:allow-other-keys)
              (let ((out (assoc-ref outputs "out")))
-               (substitute* "main.c"
+               (substitute* (list "main.c" "style.css")
                  (("/usr/share") (string-append out "/share"))
                  (("/etc") (string-append out "/etc"))))
              #t)))))

base-commit: b64d3168af697ceb2a96e7e2c62bcf418b8a586a
-- 
2.48.1