diff options
| author | bdunahu <bdunahu@operationnull.com> | 2026-04-13 22:20:57 -0400 |
|---|---|---|
| committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2026-04-15 23:11:05 +0200 |
| commit | 6abb7bc42234fd2c0dfe67b5de80dd609625ecb9 (patch) | |
| tree | 72a54ffc191fbc46a2488f4afb23413710b0707f /gnu | |
| parent | 03937c872465c2691ea5056460c0ef1487492332 (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')
| -rw-r--r-- | gnu/packages/emacs-xyz.scm | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index a49816dcd7..801b9e752b 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -24580,6 +24580,13 @@ Meow’s motions.") #:tests? #f ; no test suite #:phases #~(modify-phases %standard-phases + (add-before 'patch-el-files 'patch-xauth-path + ;; Uses xauth directly at runtime to authenticate with the X server. + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "xcb.el" + (("xauth list") + (string-append (search-input-file inputs "/bin/xauth") + " list"))))) (add-after 'expand-load-path 'regenerate-el-files (lambda* (#:key inputs native-inputs #:allow-other-keys) (substitute* "xelb-gen" @@ -24587,6 +24594,7 @@ Meow’s motions.") (invoke "make" (format #f "PROTO_PATH=~a/share/xcb" #$(this-package-native-input "xcb-proto")))))))) + (inputs (list xauth)) (native-inputs (list xcb-proto)) (propagated-inputs (list emacs-compat)) (home-page "https://github.com/emacs-exwm/xelb") |
