nix-config/overlays/cmus.nix
Donovan Glover a59dbb56e7
chore: Update to latest nixos-unstable release
- cmus patch added to prevent build failure
- fzf patch removed since it's now in nixos-unstable
- visidata will be fixed in https://github.com/NixOS/nixpkgs/pull/264217
2023-10-31 10:55:29 -04:00

18 lines
479 B
Nix

{ pkgs, ... }:
{
nixpkgs.overlays = [
(final: prev: {
cmus = prev.cmus.overrideAttrs (oldAttrs: {
patches = (oldAttrs.patches or [ ]) ++ [
# ffmpeg 6 fix https://github.com/cmus/cmus/pull/1254
(pkgs.fetchpatch {
url = "https://github.com/cmus/cmus/commit/07b368ff1500e1d2957cad61ced982fa10243fbc.patch";
hash = "sha256-5gsz3q8R9FPobHoLj8BQPsa9s4ULEA9w2VQR+gmpmgA=";
})
];
});
})
];
}