From 9f92ca032dae09cbc5d205696871ea1ae67e6dee Mon Sep 17 00:00:00 2001 From: Infinidoge Date: Tue, 27 Feb 2024 02:50:25 -0500 Subject: [PATCH] overlays/patches: replace coreutils patch with env var --- overlays/patches/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/overlays/patches/default.nix b/overlays/patches/default.nix index 8266a49..8823e5d 100644 --- a/overlays/patches/default.nix +++ b/overlays/patches/default.nix @@ -6,7 +6,10 @@ let }); 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 ]; }