From 2f71cd4c08bb4514efe43533e6a5d03535204c29 Mon Sep 17 00:00:00 2001 From: Aylur Date: Tue, 15 Oct 2024 01:26:32 +0200 Subject: refactor lua and gjs lib --- flake.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 8b8f739..e5c9018 100644 --- a/flake.nix +++ b/flake.nix @@ -43,9 +43,10 @@ packages.${system} = with pkgs; { docs = import ./docs {inherit self pkgs;}; - default = self.packages.${system}.astal; + default = self.packages.${system}.io; - astal = mkPkg "astal" ./core [gtk3 gtk-layer-shell]; + io = mkPkg "astal" ./lib/astal/io []; + astal3 = mkPkg "astal" ./lib/astal/gtk3 [self.packages.${system}.io gtk3 gtk-layer-shell]; apps = mkPkg "astal-apps" ./lib/apps [json-glib]; auth = mkPkg "astal-auth" ./lib/auth [pam]; battery = mkPkg "astal-battery" ./lib/battery [json-glib]; -- cgit v1.2.3 From dcc38701e9aa544f5f585c2bb2cc82d7fecca675 Mon Sep 17 00:00:00 2001 From: Aylur Date: Tue, 15 Oct 2024 15:08:05 +0000 Subject: nix: expose the gjs package --- flake.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index e5c9018..1b94c1c 100644 --- a/flake.nix +++ b/flake.nix @@ -59,6 +59,18 @@ river = mkPkg "astal-river" ./lib/river [json-glib]; tray = mkPkg "astal-tray" ./lib/tray [gtk3 gdk-pixbuf libdbusmenu-gtk3 json-glib]; wireplumber = mkPkg "astal-wireplumber" ./lib/wireplumber [wireplumber]; + + gjs = pkgs.stdenvNoCC.mkDerivation { + src = ./lang/gjs; + name = "astal-gjs"; + buildInputs = [ + meson + ninja + pkg-config + self.packages.${system}.io + self.packages.${system}.astal3 + ]; + }; }; }; } -- cgit v1.2.3