depot/modules/autopatch/default.nix
2022-01-14 22:49:38 +01:00

23 lines
553 B
Nix

{ pkgs, lib, config, inputs, ... }:
{
nixpkgs.overlays = [
(self: super: { flakePackages = inputs.self.packages.${pkgs.system}; })
(self: super:
(let
patched = import ../../packages/patched-derivations.nix super;
in {
ipfs = patched.lain-ipfs;
hydra-unstable = patched.hydra;
sssd = patched.sssd;
} // lib.optionalAttrs config.krb5.enable {
bind = patched.kerberized-bind;
dnsutils = patched.kerberized-dnsutils;
dig = patched.kerberized-dig;
})
)
];
}