mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-27 02:34:53 +00:00
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:
@@ -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"
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user