summary refs log tree commit diff
path: root/pkgs/os-specific/linux/util-linux
diff options
context:
space:
mode:
authorGuillaume Girol <symphorien+git@xlumurb.eu>2022-04-24 12:00:00 +0000
committerGuillaume Girol <symphorien+git@xlumurb.eu>2022-04-24 23:20:48 +0200
commitb79ebdec9b76a04b4d583929d222e67384a6e444 (patch)
tree3e6511f606cc2115a151300e0916089b9ad220b2 /pkgs/os-specific/linux/util-linux
parent71ca66602b1209d784321b59a01a099ce9e97f8a (diff)
util-linux: fix static build by disabling systemd support
Diffstat (limited to 'pkgs/os-specific/linux/util-linux')
-rw-r--r--pkgs/os-specific/linux/util-linux/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/util-linux/default.nix b/pkgs/os-specific/linux/util-linux/default.nix
index 3efb3914b85e5..efd75ce9b3f2d 100644
--- a/pkgs/os-specific/linux/util-linux/default.nix
+++ b/pkgs/os-specific/linux/util-linux/default.nix
@@ -1,7 +1,7 @@
 { lib, stdenv, fetchurl, pkg-config, zlib, shadow, libcap_ng
 , ncursesSupport ? true
 , ncurses, pam
-, systemdSupport ? stdenv.isLinux
+, systemdSupport ? stdenv.isLinux && !stdenv.hostPlatform.isStatic
 , systemd
 , nlsSupport ? true
 }: