flake/nixos/packages/overlays/ydict.nix

23 lines
625 B
Nix
Raw Normal View History

2023-11-03 14:52:18 +00:00
{ ... }:
{
nixpkgs = {
overlays = [
(final: prev:
{
ydict = prev.ydict.overrideAttrs (old: {
# Let ydict follow XDG
# .patch file from https://github.com/TimothyYe/ydict/pull/32
# yes i know theres `YDICT_DB`
patches = (old.patches or []) ++ [
(prev.fetchurl {
url = "https://github.com/TimothyYe/ydict/commit/5bb0bc3f44922893a17993e295bbcac82c4a0170.patch";
sha256 = "sha256-Wg7p7dzosbbghSOTDB7duLL4ecmMjQd5trNXqHh29cU=";
})
];
});
}
)
];
};
}