civodul pushed a commit to branch master
in repository guix.
commit 4335fac525d7f536f7711137ac831b4d374d7647
Author: Ashish SHUKLA <[email protected]>
AuthorDate: Sun Feb 2 07:53:20 2025 +0000
gnu: wlogout: Fix paths to assets
* gnu/packages/wm.scm (wlogout): [#:phases]
<patch-source-paths>: Substitute paths in style.css.
Change-Id: I128581608e29294cbc4165e9ebd7d1e505e90b4f
Signed-off-by: Ludovic Courtès <[email protected]>
---
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 8aa314e56b..6e950592fc 100644
--- a/gnu/packages/wm.scm
+++ b/gnu/packages/wm.scm
@@ -75,7 +75,7 @@
;;; Copyright © 2024 bigbug <[email protected]>
;;; Copyright © 2024 dan <[email protected]>
;;; Copyright © 2024 Wamm K. D. <[email protected]>
-;;; Copyright © 2024 Ashish SHUKLA <[email protected]>
+;;; Copyright © 2024, 2025 Ashish SHUKLA <[email protected]>
;;; Copyright © 2024 Josep Bigorra <[email protected]>
;;; Copyright © 2024 Jakob Kirsch <[email protected]>
;;; Copyright © 2025 Tomáš Čech <[email protected]>
@@ -3804,7 +3804,7 @@ which do not support it.")
(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)))))