pktgen: remove gtk 2 support

gtk 2 is unmaintained upstream and is being removed from Nixpkgs where
possible. gtk 2 being disabled is already the default, so there's little
reason to keep the support around.
This commit is contained in:
whispers
2026-07-22 22:33:35 -04:00
parent 786a782451
commit 42a7ebd15f

View File

@@ -11,9 +11,7 @@
lua5_3,
numactl,
util-linux,
gtk2,
which,
withGtk ? false,
nix-update-script,
}:
@@ -44,15 +42,10 @@ stdenv.mkDerivation (finalAttrs: {
lua5_3
numactl
which
]
++ lib.optionals withGtk [
gtk2
];
env = {
RTE_SDK = dpdk;
GUI = lib.optionalString withGtk "true";
NIX_CFLAGS_COMPILE = toString [
"-Wno-error=sign-compare"
];