1
0
forked from extern/nix-config
donovanglover-nix-config/overlays/default.nix
Donovan Glover 7e38c259fa
meta: Replace joshuto package with overlay
This actually took *forever*, but now that I know how to write nixpkgs
overlays, any future ones I write should be relatively straight-forward.
2023-06-05 23:07:36 -04:00

22 lines
658 B
Nix

{lib, ...}: {
nixpkgs.overlays = [
(final: prev: {
joshuto = prev.joshuto.overrideAttrs (oldAttrs: rec {
version = "493af3185092036cbbae81ae620b101f66cf4e9a";
src = final.fetchFromGitHub {
owner = "kamiyaa";
repo = "joshuto";
rev = "493af3185092036cbbae81ae620b101f66cf4e9a";
sha256 = "sha256-jLlDMV03eFWDB1D6pFEq2MFAfoVwFTy8ZpweS9syDB0=";
};
cargoDeps = oldAttrs.cargoDeps.overrideAttrs (lib.const {
name = "joshuto.tar.gz";
inherit src;
outputHash = "sha256-cDy7sccuZj+RNjaDGjqczGl//zgmMAifjv/ZMEO/yyY=";
});
});
})
];
}