···2222let
2323 # Temporarily avoid applying the patches on systems where already we have binaries
2424 # (in particular x86_64-linux and aarch64-linux) as the package is a huge rebuild there.
2525- avoidRebuild = stdenv.isLinux && stdenv.is64bit;
2525+ avoidRebuild = with stdenv.hostPlatform; isLinux && is64bit && !isStatic;
2626in
2727stdenv.mkDerivation rec {
2828 pname = "util-linux" + lib.optionalString (!nlsSupport && !ncursesSupport && !systemdSupport) "-minimal";