gotop: remove obsolete TARGET_OS_* workaround
This commit is contained in:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user