Change:
python3 ]; <del> buildInputs = [ chafa imagemagick_light pcre pcre2 sqlite yyjson ] ++ lib.optionals stdenv.isLinux [ dbus dconf ddcutil glib hwdata libdrm libpulseaudio libselinux libsepol networkmanager ocl-icd opencl-headers util-linux zlib ] ++ lib.optionals rpmSupport [ rpm ] ++ lib.optionals vulkanSupport [ vulkan-loader ] ++ lib.optionals waylandSupport [ wayland ] ++ lib.optionals x11Support [ libXrandr libglvnd libxcb xorg.libXau xorg.libXdmcp xorg.libXext ] ++ lib.optionals (x11Support && (!stdenv.isDarwin)) [ xfce.xfconf ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk_11_0.frameworks; [ Apple80211 AppKit AVFoundation Cocoa CoreDisplay CoreVideo CoreWLAN DisplayServices IOBluetooth MediaRemote OpenCL SystemConfiguration darwin.moltenvk ]); </del> <ins> buildInputs = [ chafa imagemagick_light pcre pcre2 sqlite yyjson ] ++ lib.optionals stdenv.isLinux [ dbus dconf ddcutil glib hwdata libdrm libpulseaudio libselinux libsepol ocl-icd opencl-headers util-linux zlib ] ++ lib.optionals rpmSupport [ rpm ] ++ lib.optionals vulkanSupport [ vulkan-loader ] ++ lib.optionals waylandSupport [ wayland ] ++ lib.optionals x11Support [ libXrandr libglvnd libxcb xorg.libXau xorg.libXdmcp xorg.libXext ] ++ lib.optionals (x11Support && (!stdenv.isDarwin)) [ xfce.xfconf ] ++ lib.optionals stdenv.isDarwin ( with darwin.apple_sdk_11_0.frameworks; [ Apple80211 AppKit AVFoundation Cocoa CoreDisplay CoreVideo CoreWLAN DisplayServices IOBluetooth MediaRemote OpenCL SystemConfiguration darwin.moltenvk ] ); </ins> <del> cmakeFlags = [ (lib.cmakeOptionType "filepath" "CMAKE_INSTALL_SYSCONFDIR" "${placeholder "out"}/etc") (lib.cmakeBool "ENABLE_DIRECTX_HEADERS" false) (lib.cmakeBool "ENABLE_DRM" false) (lib.cmakeBool "ENABLE_IMAGEMAGICK6" false) (lib.cmakeBool "ENABLE_OSMESA" false) (lib.cmakeBool "ENABLE_SYSTEM_YYJSON" true) (lib.cmakeBool "ENABLE_GLX" x11Support) (lib.cmakeBool "ENABLE_RPM" rpmSupport) (lib.cmakeBool "ENABLE_VULKAN" x11Support) (lib.cmakeBool "ENABLE_WAYLAND" waylandSupport) (lib.cmakeBool "ENABLE_X11" x11Support) (lib.cmakeBool "ENABLE_XCB" x11Support) (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") ]; </del> <ins> cmakeFlags = [ (lib.cmakeOptionType "filepath" "CMAKE_INSTALL_SYSCONFDIR" "${placeholder "out"}/etc") (lib.cmakeBool "ENABLE_DIRECTX_HEADERS" false) (lib.cmakeBool "ENABLE_DRM" false) (lib.cmakeBool "ENABLE_IMAGEMAGICK6" false) (lib.cmakeBool "ENABLE_OSMESA" false) (lib.cmakeBool "ENABLE_SYSTEM_YYJSON" true) (lib.cmakeBool "ENABLE_GLX" x11Support) (lib.cmakeBool "ENABLE_RPM" rpmSupport) (lib.cmakeBool "ENABLE_VULKAN" x11Support) (lib.cmakeBool "ENABLE_WAYLAND" waylandSupport) (lib.cmakeBool "ENABLE_X11" x11Support) (lib.cmakeBool "ENABLE_XCB" x11Support) (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") ]; </ins> postPatch = '' substituteInPlace completions/fastfetch.fish --replace-fail python3 '${python3.interpreter}'

Discussion:
Package name: fastfetch Latest released version: 2.21.0 <!-- Search your package here: --- Current version on the unstable channel: 2.20.0 Current version on the stable/release channel: 2.13.2 <!-- Type the name of your package and try to find an open pull request for the package If you find an open pull request, you can review it! There's a high chance that you'll have the new version right away while helping the community! --- Notify maintainers <!-- If the result shows no maintainers, tag the person that last updated the package. --Note for maintainers: Please tag this issue in your PR. Add a :+1: [reaction] to [issues you find important]. [reaction]: [issues you find important]: