Skip to content

Commit

Permalink
util-linux: also downgrade static builds already
Browse files Browse the repository at this point in the history
We need this now to fix nixStatic build:
https://hydra.nixos.org/build/259722977
/cc PR #309805
  • Loading branch information
vcunat committed May 20, 2024
1 parent fa8ec67 commit 15d8d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/util-linux/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 15d8d27

Please sign in to comment.