mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 13:36:36 +01:00
gnu: fastfetch: Add more configure flags.
Use dynamic linking for dependencies instead of dlopening them at runtime which requries a wrapper with LD_LIBRARY_PATH. Additionally provide custom paths to pci-ids and amdgpu-ids. * gnu/packages/admin.scm (fastfetch) [#:configure-flags]: Enable dynamic linking and disable directx-headers. Set custom paths to hwdata and libdrm. [inputs]: Add hwdata and libdrm for the custom paths. Change-Id: I9f86b49f0a116bcee91ca15b6e77cfbb3867e290 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
parent
6599186acd
commit
35d13aab7e
1 changed files with 11 additions and 1 deletions
|
@ -4470,10 +4470,20 @@ (define-public fastfetch
|
|||
#:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=ON"
|
||||
"-DBUILD_FLASHFETCH=OFF"
|
||||
"-DBUILD_TESTS=ON"
|
||||
"-DINSTALL_LICENSE=OFF")))
|
||||
"-DINSTALL_LICENSE=OFF"
|
||||
"-DBINARY_LINK_TYPE=dynamic"
|
||||
"-DENABLE_DIRECTX_HEADERS=OFF"
|
||||
(string-append "-DCUSTOM_PCI_IDS_PATH="
|
||||
#$(this-package-input "hwdata")
|
||||
"/share/hwdata/pci.ids")
|
||||
(string-append "-DCUSTOM_AMDGPU_IDS_PATH="
|
||||
#$(this-package-input "libdrm")
|
||||
"share/libdrm/amdgpu.ids"))))
|
||||
(inputs (list dbus
|
||||
glib
|
||||
hwdata
|
||||
imagemagick
|
||||
libdrm
|
||||
libxcb
|
||||
mesa
|
||||
wayland
|
||||
|
|
Loading…
Reference in a new issue