util-linux: fix static (#391528)

This commit is contained in:
K900
2025-03-21 09:09:57 +03:00
committed by GitHub
+4
View File
@@ -105,6 +105,10 @@ stdenv.mkDerivation rec {
++ lib.optionals stdenv.hostPlatform.isDarwin [
# Doesn't build on Darwin, also doesn't really make sense on Darwin
"--disable-liblastlog2"
]
++ lib.optionals stdenv.hostPlatform.isStatic [
# Mandatory shared library.
"--disable-pam-lastlog2"
];
makeFlags = [