grimm-nixos-laptop/overlays/glibc-eac.nix
2024-05-29 09:47:17 +02:00

19 lines
412 B
Nix

{ prev, ... }:
let
nivSources = import ../nix/sources.nix;
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: "${nivSources.glibc-eac}/${p}") glibc_patches);
doCheck = false;
});
}