mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-23 05:14:45 +00:00
util-linux: also downgrade static builds already
We need this now to fix nixStatic build: https://hydra.nixos.org/build/259722977 /cc PR #309805
This commit is contained in:
parent
fa8ec6702a
commit
15d8d27bd6
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user