Unverified Commit 15d8d27b authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

util-linux: also downgrade static builds already

We need this now to fix nixStatic build:
https://hydra.nixos.org/build/259722977
/cc PR #309805
parent fa8ec670
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
let
  # Temporarily avoid applying the patches on systems where already we have binaries
  # (in particular x86_64-linux and aarch64-linux) as the package is a huge rebuild there.
  avoidRebuild = stdenv.isLinux && stdenv.is64bit;
  avoidRebuild = with stdenv.hostPlatform; isLinux && is64bit && !isStatic;
in
stdenv.mkDerivation rec {
  pname = "util-linux" + lib.optionalString (!nlsSupport && !ncursesSupport && !systemdSupport) "-minimal";