@@ -4294,18 +4294,29 @@ (define-public fastfetch
(snippet '(begin
(delete-file-recursively "src/3rdparty")))))
(build-system cmake-build-system)
+ (arguments
+ (list
+ #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=ON"
+ "-DBINARY_LINK_TYPE=dynamic"
+ "-DBUILD_TESTS=ON"
+ "-DINSTALL_LICENSE=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
yyjson
zlib)) ;for imagemagick and an #ifdef
(native-inputs (list pkg-config))
- (arguments
- (list #:tests? #f ; no test target
- #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=ON")))
(home-page "https://github.com/fastfetch-cli/fastfetch")
(synopsis "Display system information in a stylized manner")
(description