From 0e81c5b88e212a9256a3ecf07273d9e00d011e1b Mon Sep 17 00:00:00 2001 From: matt1432 Date: Sat, 21 Dec 2024 17:13:04 -0500 Subject: [PATCH] fix(ags): add gtk4 to astalLibs to ensure types work --- lib/pkgs/default.nix | 2 ++ modules/ags/packages.nix | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pkgs/default.nix b/lib/pkgs/default.nix index 6e14e1f1..213d23d2 100644 --- a/lib/pkgs/default.nix +++ b/lib/pkgs/default.nix @@ -44,6 +44,8 @@ in { then "Astal-3.0" else if package.name == "astal-4.0.0" then "Astal-4.0" + else if package.pname == "gtk4" + then "Gtk-4.0" else (concatMapStrings capitalise (splitString "-" package.pname)) + "-0.1"; }) packages; diff --git a/modules/ags/packages.nix b/modules/ags/packages.nix index 3b15d58d..a6f8bc16 100644 --- a/modules/ags/packages.nix +++ b/modules/ags/packages.nix @@ -44,7 +44,7 @@ in { "gjs" ] ) - ++ [gtk-session-lock.packages.${pkgs.system}.default]; + ++ [gtk-session-lock.packages.${pkgs.system}.default pkgs.gtk4]; lockPkg = pkgs.writeShellApplication { name = "lock";