~ruther/guix-local

284c5111db52bf59a165d81a2d3fbd0a51ade598 — Sergio Pastor PĂ©rez 1 year, 2 months ago 64ab318
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>
1 files changed, 9 insertions(+), 1 deletions(-)

M gnu/packages/kde-plasma.scm
M gnu/packages/kde-plasma.scm => gnu/packages/kde-plasma.scm +9 -1
@@ 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")