3
0
Fork 0
forked from mirrors/nixpkgs

libnma-gtk4: Add GTK4 variant

This commit is contained in:
Jan Tojnar 2022-02-19 04:36:14 +01:00
parent 34453ad1a8
commit 0ae8b8e8e1
2 changed files with 7 additions and 0 deletions

View file

@ -15,6 +15,8 @@
, mobile-broadband-provider-info
, gobject-introspection
, gtk3
, withGtk4 ? false
, gtk4
, withGnome ? true
, gcr
, glib
@ -56,6 +58,8 @@ stdenv.mkDerivation rec {
networkmanager
isocodes
mobile-broadband-provider-info
] ++ lib.optionals withGtk4 [
gtk4
] ++ lib.optionals withGnome [
# advanced certificate chooser
gcr
@ -63,6 +67,7 @@ stdenv.mkDerivation rec {
mesonFlags = [
"-Dgcr=${lib.boolToString withGnome}"
"-Dlibnma_gtk4=${lib.boolToString withGtk4}"
];
postPatch = ''

View file

@ -8156,6 +8156,8 @@ with pkgs;
libnma = callPackage ../tools/networking/networkmanager/libnma { };
libnma-gtk4 = libnma.override { withGtk4 = true; };
networkmanager_dmenu = callPackage ../tools/networking/networkmanager/dmenu { };
nm-tray = libsForQt5.callPackage ../tools/networking/networkmanager/tray.nix { };