util-linux: also downgrade static builds already

We need this now to fix nixStatic build:
https://hydra.nixos.org/build/259722977
/cc PR #309805

+1 -1
+1 -1
pkgs/os-specific/linux/util-linux/default.nix
··· 22 22 let 23 23 # Temporarily avoid applying the patches on systems where already we have binaries 24 24 # (in particular x86_64-linux and aarch64-linux) as the package is a huge rebuild there. 25 - avoidRebuild = stdenv.isLinux && stdenv.is64bit; 25 + avoidRebuild = with stdenv.hostPlatform; isLinux && is64bit && !isStatic; 26 26 in 27 27 stdenv.mkDerivation rec { 28 28 pname = "util-linux" + lib.optionalString (!nlsSupport && !ncursesSupport && !systemdSupport) "-minimal";