Subject: [bug#75885] [PATCH] gnu: rofi-pass-wayland

From: Jake Koroman <[email-masked]>
Date: Mon, 27 Jan 2025 03:05:16 +0000

* gnu/packages/password-utils.scm (rofi-pass-wayland): Removed doubled /etc substitute.

The substitute is wrong here as it is already being inherited from the rofi-pass package.
This causes the substitute to run twice and cause an error in the outputted config file.

Change-Id: I61d7ed4f9f84903aef2a21a3bc5ca3e65a092577
---
 gnu/packages/password-utils.scm | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/gnu/packages/password-utils.scm b/gnu/packages/password-utils.scm
index 0a3711b..81758ce 100644
--- a/gnu/packages/password-utils.scm
+++ b/gnu/packages/password-utils.scm
@@ -1073,10 +1073,7 @@ (define-public rofi-pass-wayland
                        (("#clibpoard_backend=xclip")
                         "clipboard_backend=wl-clipboard")
                        (("#backend=xdotool")
-                        "backend=wtype"))
-                     (substitute* "rofi-pass"
-                       (("/etc")
-                        (string-append #$output "/etc")))))
+                        "backend=wtype"))))
             ;; Use Wayland related tools instead.
             (replace 'wrap-path
               (lambda* (#:key inputs #:allow-other-keys)

base-commit: 5133fe25d4c105ce4bdc7134bc585a1f673d8a8b
-- 
2.47.1