fastfetch: set paths for pci.ids amdgpu.ids
This commit is contained in:
parent
9824dd17a9
commit
b413c925a0
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user