diff --git a/pkgs/by-name/fa/fastfetch/package.nix b/pkgs/by-name/fa/fastfetch/package.nix index 94fea4eacbce..0115b1baa114 100644 --- a/pkgs/by-name/fa/fastfetch/package.nix +++ b/pkgs/by-name/fa/fastfetch/package.nix @@ -11,6 +11,7 @@ , hwdata , imagemagick_light , libXrandr +, libdrm , libglvnd , libpulseaudio , libselinux @@ -77,6 +78,7 @@ stdenv'.mkDerivation (finalAttrs: { ddcutil glib hwdata + libdrm libpulseaudio libselinux libsepol @@ -132,6 +134,9 @@ stdenv'.mkDerivation (finalAttrs: { (lib.cmakeBool "ENABLE_XCB_RANDR" x11Support) (lib.cmakeBool "ENABLE_XFCONF" (x11Support && (!stdenv.isDarwin))) (lib.cmakeBool "ENABLE_XRANDR" x11Support) + ] ++ lib.optionals stdenv.isLinux [ + (lib.cmakeOptionType "filepath" "CUSTOM_PCI_IDS_PATH" "${hwdata}/share/hwdata/pci.ids") + (lib.cmakeOptionType "filepath" "CUSTOM_AMDGPU_IDS_PATH" "${libdrm}/share/libdrm/amdgpu.ids") ]; postInstall = ''