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