diff --git a/flake.nix b/flake.nix index a5e4c4e..1aafb59 100644 --- a/flake.nix +++ b/flake.nix @@ -12,6 +12,8 @@ inputs.nixpkgs.follows = "nixpkgs"; inputs.systems.follows = "systems"; }; + + hyprlang.url = "github:hyprwm/hyprlang"; }; outputs = { @@ -36,6 +38,7 @@ packages = eachSystem (system: { inherit (pkgsFor.${system}) xdg-desktop-portal-hyprland; default = self.packages.${system}.xdg-desktop-portal-hyprland; + inherit (inputs.hyprlang.packages.${system}) hyprlang; }); formatter = eachSystem (system: nixpkgs.legacyPackages.${system}.alejandra); diff --git a/nix/default.nix b/nix/default.nix index a4da0ca..151e1d1 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -17,6 +17,7 @@ qtwayland, wrapQtAppsHook, hyprland, + hyprlang, slurp, hyprland-protocols, wayland, @@ -55,6 +56,7 @@ stdenv.mkDerivation { systemd wayland wayland-protocols + hyprlang ]; dontWrapQtApps = true;