aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-07-28 14:02:25 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-10-07 10:11:10 -0400
commita7bfc9d68f0dc5775df53fb6e5c81c6a1b3b5dcd (patch)
tree6605ab2222eabc1cc647bce268c95cea0b73cfa9
parent0debec9f2d0bd9855ecfa42aa59168d7122b18b9 (diff)
downloadguix-a7bfc9d68f0dc5775df53fb6e5c81c6a1b3b5dcd.tar.gz
guix-a7bfc9d68f0dc5775df53fb6e5c81c6a1b3b5dcd.zip
gnu: tigervnc-server: Adjust PAM config.
* gnu/packages/vnc.scm (tigervnc-server) [phases]{adjust-pam-config}: New phase.
-rw-r--r--gnu/packages/vnc.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/vnc.scm b/gnu/packages/vnc.scm
index e06dbcceb9..4795ccc72a 100644
--- a/gnu/packages/vnc.scm
+++ b/gnu/packages/vnc.scm
@@ -283,6 +283,11 @@ application which is needed to connect to VNC servers.")
((#:phases phases)
#~(modify-phases #$phases
(delete 'check) ;no test suite
+ (add-after 'unpack 'adjust-pam-config
+ (lambda _
+ (substitute* "tigervnc-client/unix/vncserver/tigervnc.pam"
+ (("pam_systemd.so")
+ "pam_elogind.so"))))
(add-before 'build 'build-tigervnc
(lambda* (#:key parallel-build? #:allow-other-keys)
(mkdir-p "tigervnc-client/build")