summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorbdunahu <bdunahu@operationnull.com>2026-04-13 22:20:57 -0400
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2026-04-15 23:11:05 +0200
commit6abb7bc42234fd2c0dfe67b5de80dd609625ecb9 (patch)
tree72a54ffc191fbc46a2488f4afb23413710b0707f /gnu/packages
parent03937c872465c2691ea5056460c0ef1487492332 (diff)
gnu: emacs-xelb: Patch call to xauth with store path.
This ensures login cookies used to authenticate with the X server can be found at runtime without requiring xauth be in the user's profile. * gnu/packages/emacs-xyz.scm (emacs-xelb)[#:phases]: Add ‘patch-xauth-path’. [inputs]: Add xauth. Change-Id: Ic24cb12d6103a3f6dc24c89f2dd43c1e1f7dc95c Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs-xyz.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index a49816dcd77..801b9e752b5 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -24580,6 +24580,13 @@ Meow’s motions.")
24580 #:tests? #f ; no test suite 24580 #:tests? #f ; no test suite
24581 #:phases 24581 #:phases
24582 #~(modify-phases %standard-phases 24582 #~(modify-phases %standard-phases
24583 (add-before 'patch-el-files 'patch-xauth-path
24584 ;; Uses xauth directly at runtime to authenticate with the X server.
24585 (lambda* (#:key inputs #:allow-other-keys)
24586 (substitute* "xcb.el"
24587 (("xauth list")
24588 (string-append (search-input-file inputs "/bin/xauth")
24589 " list")))))
24583 (add-after 'expand-load-path 'regenerate-el-files 24590 (add-after 'expand-load-path 'regenerate-el-files
24584 (lambda* (#:key inputs native-inputs #:allow-other-keys) 24591 (lambda* (#:key inputs native-inputs #:allow-other-keys)
24585 (substitute* "xelb-gen" 24592 (substitute* "xelb-gen"
@@ -24587,6 +24594,7 @@ Meow’s motions.")
24587 (invoke "make" 24594 (invoke "make"
24588 (format #f "PROTO_PATH=~a/share/xcb" 24595 (format #f "PROTO_PATH=~a/share/xcb"
24589 #$(this-package-native-input "xcb-proto")))))))) 24596 #$(this-package-native-input "xcb-proto"))))))))
24597 (inputs (list xauth))
24590 (native-inputs (list xcb-proto)) 24598 (native-inputs (list xcb-proto))
24591 (propagated-inputs (list emacs-compat)) 24599 (propagated-inputs (list emacs-compat))
24592 (home-page "https://github.com/emacs-exwm/xelb") 24600 (home-page "https://github.com/emacs-exwm/xelb")