grimm-nixos-laptop/overlays/glibc-eac.nix

18 lines
374 B
Nix
Raw Normal View History

2024-05-31 17:33:40 +02:00
{ prev, inputs, ... }:
2024-05-29 09:47:17 +02:00
let
glibc_patches = [ "rogue_company_reverts.patch" ];
2024-05-25 23:14:08 +02:00
in
{
2024-05-29 09:47:17 +02:00
glibc-eac = prev.glibc.overrideAttrs (old: {
patches =
(
2024-05-25 23:14:08 +02:00
let
oldPatches = old.patches or [ ];
in
if oldPatches == null then [ ] else oldPatches
)
2024-05-31 17:33:40 +02:00
++ (map (p: "${inputs.glibc-eac}/${p}") glibc_patches);
2024-05-25 23:14:08 +02:00
doCheck = false;
});
}