gnu: rofi-pass-wayland: Fix package inheritance bug.

This package inherits from ROFI-PASS, and erroneously duplicates a path
substitution from that package's 'fix-etc-path' phase. The patched path is
incorrect after the substitution is performed twice.

* gnu/packages/password-utils.scm (rofi-pass-wayland)[arguments]: Remove
duplicated patching of '/etc' in the 'set-wayland-defaults' phase.

Change-Id: I61d7ed4f9f84903aef2a21a3bc5ca3e65a092577
Reviewed-by: Nicolas Graves <ngraves@ngraves.fr>
Signed-off-by: Leo Famulari <leo@famulari.name>
This commit is contained in:
Jake Koroman 2025-01-27 03:05:16 +00:00 committed by Leo Famulari
parent b64d3168af
commit ad59a0c88b
No known key found for this signature in database
GPG key ID: 6AAC1963757F47FF

View file

@ -1073,10 +1073,7 @@ using password-store through rofi interface:
(("#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)