gotop: remove obsolete TARGET_OS_* workaround

This commit is contained in:
Emily
2025-01-06 00:47:50 +00:00
parent 26e9e065fa
commit 110cca6232
-3
View File
@@ -32,9 +32,6 @@ buildGoModule rec {
"-X main.Version=v${version}"
];
# prevent `error: 'TARGET_OS_MAC' is not defined`
env.CGO_CFLAGS = "-Wno-undef-prefix";
nativeBuildInputs = [ installShellFiles ];
buildInputs = lib.optionals stdenv.hostPlatform.isDarwin [ IOKit ];