gnu: tigervnc-server: Adjust PAM config.

* gnu/packages/vnc.scm (tigervnc-server)
[phases]{adjust-pam-config}: New phase.
This commit is contained in:
Maxim Cournoyer 2022-07-28 14:02:25 -04:00
parent 0debec9f2d
commit a7bfc9d68f
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -283,6 +283,11 @@ (define-public tigervnc-server
((#: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")