From b3d443c60d2f605d92f115899312b0b3d668c32d Mon Sep 17 00:00:00 2001 From: vaxerski Date: Wed, 3 Jan 2024 13:03:53 +0100 Subject: [PATCH] nix: add hyprlang --- flake.nix | 3 +++ nix/default.nix | 2 ++ 2 files changed, 5 insertions(+) diff --git a/flake.nix b/flake.nix index a5e4c4e..178ff2d 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.${prev.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;