glib: remove util-linuxMinimal assertion when building for Linux (#509478)

This commit is contained in:
Jan Tojnar
2026-09-26 13:43:09 +00:00
committed by GitHub

View File

@@ -22,7 +22,7 @@
docutils,
gi-docgen,
# use util-linuxMinimal to avoid circular dependency (util-linux, systemd, glib)
util-linuxMinimal ? null,
util-linuxMinimal,
buildPackages,
# this is just for tests (not in the closure of any regular package)
@@ -42,8 +42,6 @@
&& stdenv.hostPlatform.isLittleEndian == stdenv.buildPlatform.isLittleEndian,
}:
assert stdenv.hostPlatform.isLinux -> util-linuxMinimal != null;
let
glib-untested = glib.overrideAttrs { doCheck = false; };
# break dependency cycles