From cb73dab54d14b352bde5b43e96b4ac88fbc609a7 Mon Sep 17 00:00:00 2001 From: Emily Date: Mon, 6 Jan 2025 00:46:47 +0000 Subject: [PATCH] jwhois: remove obsolete `TARGET_OS_*` workaround --- pkgs/by-name/jw/jwhois/package.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/by-name/jw/jwhois/package.nix b/pkgs/by-name/jw/jwhois/package.nix index 78f2398b2876..a4f0de644ef2 100644 --- a/pkgs/by-name/jw/jwhois/package.nix +++ b/pkgs/by-name/jw/jwhois/package.nix @@ -33,11 +33,6 @@ stdenv.mkDerivation (finalAttrs: { ln -s $out/bin/jwhois $out/bin/whois ''; - # Work around error from on aarch64-darwin: - # error: 'TARGET_OS_IPHONE' is not defined, evaluates to 0 [-Werror,-Wundef-prefix=TARGET_OS_] - # TODO: this should probably be fixed at a lower level than this? - env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-Wno-undef-prefix"; - env.NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isDarwin "-liconv"; meta = {