overlays: patch ydict
This commit is contained in:
parent
b48c61076f
commit
6a5f37bbed
2 changed files with 24 additions and 0 deletions
|
@ -5,5 +5,6 @@
|
||||||
./nautilus.nix
|
./nautilus.nix
|
||||||
./sway.nix
|
./sway.nix
|
||||||
./prismlauncher.nix
|
./prismlauncher.nix
|
||||||
|
./ydict.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
23
nixos/packages/overlays/ydict.nix
Normal file
23
nixos/packages/overlays/ydict.nix
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
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=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
});
|
||||||
|
}
|
||||||
|
)
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue