1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: kwallet-pam: Wrap socat file name in pam_kwallet_init binary.

* gnu/packages/kde-plasma.scm (kwallet-pam)
[phases] {fix-socat-path}: New phase.

Change-Id: I6e7a421af3dbbc844e319b7852246c89d979609c
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
Sergio Pastor Pérez
2025-05-02 09:49:48 +02:00
committed by Maxim Cournoyer
parent 64ab31870c
commit 284c5111db

View File

@@ -1305,7 +1305,15 @@ with a ksysguardd daemon, which may also run on a remote system.")
(arguments
(list
#:qtbase qtbase
#:tests? #f)) ;no tests
#:tests? #f ;no tests
#:phases
#~(modify-phases %standard-phases
(add-after 'install 'fix-socat-path
(lambda* (#:key inputs #:allow-other-keys)
(substitute* (string-append #$output
"/libexec/pam_kwallet_init")
(("socat")
(search-input-file inputs "bin/socat"))))))))
(native-inputs (list extra-cmake-modules pkg-config))
(inputs (list linux-pam kwallet libgcrypt socat))
(synopsis "PAM Integration with KWallet")