overlays/patches: replace coreutils patch with env var

This commit is contained in:
Infinidoge 2024-02-27 02:50:25 -05:00
parent e1d4326993
commit 9f92ca032d
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -6,7 +6,10 @@ let
}); });
in in
{ {
coreutils-doge = addPatches prev.coreutils [ ./coreutils.patch ]; # coreutils-doge = addPatches prev.coreutils [ ./coreutils.patch ];
coreutils-doge = prev.coreutils.overrideAttrs (old: {
configureFlags = old.configureFlags ++ [ ''gl_cv_host_operating_system=Doge/Linux'' ];
});
tailscale-doge = addPatches prev.tailscale [ ./tailscale-cgnat.patch ]; tailscale-doge = addPatches prev.tailscale [ ./tailscale-cgnat.patch ];
} }