summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Lassieur <clement@lassieur.org>2024-03-14 14:55:29 +0100
committerEfraim Flashner <efraim@flashner.co.il>2024-03-15 10:32:03 +0200
commit93aefca7bab5f5b40164176e3224221d26d708f1 (patch)
tree316f8a230de08c4e1947f9281bec3b498fa501a7
parent646810ab6a66f16b451b920ecd6b6dc4e4859482 (diff)
gnu: alacritty: Fix loading of libxkbcommon-x11.so.
* gnu/packages/terminals.scm (alacritty)[arguments]: Handle libxkbcommon-x11.so in the ‘add-absolute-library-references’ phase. This fixes this error: thread 'main' panicked at /tmp/guix-build-alacritty-0.13.1.drv-0/source/guix-vendor/rust-xkbcommon-dl-0.4.1.tar.gz/src/x11.rs:59:28: Library libxkbcommon-x11.so could not be loaded. note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace Change-Id: Ifbf19b4962bc3d9eeba6acdf32ca66b0c662f493 Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/terminals.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 49c42c8fcb..f0ae4d4d4d 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -39,6 +39,7 @@
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
;;; Copyright © 2024 Suhail <suhail@bayesians.ca>
+;;; Copyright © 2024 Clément Lassieur <clement@lassieur.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1604,6 +1605,8 @@ basic input/output.")
(search-input-file inputs (string-append "lib/" all)))
(("libwayland-[[:alpha:]]*\\.so" all)
(search-input-file inputs (string-append "lib/" all)))
+ (("libxkbcommon-x11\\.so")
+ (search-input-file inputs "lib/libxkbcommon-x11.so"))
(("libxkbcommon\\.so")
(search-input-file inputs "lib/libxkbcommon.so")))))
(replace 'install