grimm-nixos-laptop/overlays/glibc-eac.nix
2024-05-31 17:33:40 +02:00

17 lines
374 B
Nix

{ prev, inputs, ... }:
let
glibc_patches = [ "rogue_company_reverts.patch" ];
in
{
glibc-eac = prev.glibc.overrideAttrs (old: {
patches =
(
let
oldPatches = old.patches or [ ];
in
if oldPatches == null then [ ] else oldPatches
)
++ (map (p: "${inputs.glibc-eac}/${p}") glibc_patches);
doCheck = false;
});
}