final: prev: { power-profiles-daemon = prev.power-profiles-daemon.overrideAttrs (old: { patches = [ # patch for AMD pstate CPUs (final.fetchpatch { url = "https://gitlab.freedesktop.org/upower/power-profiles-daemon/-/merge_requests/127.patch"; sha256 = "sha256-CneqixlpZx9iZ0PM5MFIutsvnqKrLlM7FHOHUA/MK6g="; }) ]; }); }