diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-03 19:53:51 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-03 19:53:51 +0300 |
commit | 1899d997c24d546cc7b770b75cccf10bece7db8a (patch) | |
tree | f9e025a639c4dc9c51a6d9218b44fef8d9973144 | |
parent | 998c9122d3a508ad1f7784a56c2ba9c43786528a (diff) | |
download | guix-1899d997c24d546cc7b770b75cccf10bece7db8a.tar.gz guix-1899d997c24d546cc7b770b75cccf10bece7db8a.zip |
gnu: alacritty: Patch references to more libraries.
* gnu/packages/terminals.scm (alacritty)[arguments]: Also patch paths to
X libraries in 'add-absolute-library-references phase.
[inputs]: Add libxext, libxft, libxinerama, libxmu, libxpresent,
libxscrnsaver, libxt, libxtst.
-rw-r--r-- | gnu/packages/terminals.scm | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index bfde94d264..c5e6d51178 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -1576,10 +1576,9 @@ basic input/output.") (search-input-file inputs "lib/libEGL.so")) (("libGL\\.so") (search-input-file inputs "lib/libGL.so")) - ;; Lots of libraries from rust-x11-dl. - ;; XXX: Not all X11 libraries are inside the build enclosure. - ;(("libX.*\\.so" all) - ; (search-input-file inputs (string-append "lib/" all))) + ;; Lots of libraries from rust-x11-dl and others. + (("libX[[:alpha:]]*\\.so" all) + (search-input-file inputs (string-append "lib/" all))) ;; There are several libwayland libraries. (("libwayland-.*\\.so" all) @@ -1639,9 +1638,17 @@ basic input/output.") ("libx11" ,libx11) ("libxcb" ,libxcb) ("libxcursor" ,libxcursor) + ("libxext" ,libxext) + ("libxft" ,libxft) ("libxi" ,libxi) + ("libxinerama" ,libxinerama) ("libxkbcommon" ,libxkbcommon) + ("libxmu" ,libxmu) + ("libxpresent" ,libxpresent) ("libxrandr" ,libxrandr) + ("libxscrnsaver" ,libxscrnsaver) + ("libxt" ,libxt) + ("libxtst" ,libxtst) ("libxxf86vm" ,libxxf86vm) ("mesa" ,mesa) ("xdg-utils" ,xdg-utils) |