From 2640489d4cef966d9a50032c2ee947b3a3d4287e Mon Sep 17 00:00:00 2001 From: Sergey Trofimov Date: Mon, 12 Jan 2026 08:30:39 +0100 Subject: [PATCH] gnu: xsecurelock: Add missing input in saver_xscreensaver. * gnu/packages/xdisorg.scm (xsecurelock): Fix saver_xscreensaver. [native-inputs]: Add xrdb. [arguments]<#:phases>{patch-paths}: New phase to set path to xrdb. Merges guix/guix!5566 Change-Id: I963c7d2703ca2c5bef21bed3cbcf0faf7b3e9735 Signed-off-by: Cayetano Santos --- gnu/packages/xdisorg.scm | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index d634590e63d..0a05703d49d 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -3167,7 +3167,13 @@ temperature of the screen.") #$(this-package-input "mpv") "/bin/mpv") (string-append "--with-xscreensaver=" #$(this-package-input "xscreensaver") - "/libexec/xscreensaver")))) + "/libexec/xscreensaver")) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-paths + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "helpers/saver_xscreensaver.in" + (("xrdb") (search-input-file inputs "bin/xrdb")))))))) (native-inputs (list autoconf automake pandoc pkg-config)) (inputs @@ -3182,7 +3188,8 @@ temperature of the screen.") libxscrnsaver linux-pam mpv - xscreensaver)) + xscreensaver + xrdb)) (home-page "https://github.com/google/xsecurelock") (synopsis "X11 screen lock utility with the primary goal of security") (description