Skip to content

Commit

Permalink
nix: add hyprlang
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Jan 3, 2024
1 parent c5b69eb commit 7feeaa1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
inputs.nixpkgs.follows = "nixpkgs";
inputs.systems.follows = "systems";
};

hyprlang.url = "github:hyprwm/hyprlang";
};

outputs = {
Expand All @@ -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);
Expand Down
2 changes: 2 additions & 0 deletions nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
qtwayland,
wrapQtAppsHook,
hyprland,
hyprlang,
slurp,
hyprland-protocols,
wayland,
Expand Down Expand Up @@ -55,6 +56,7 @@ stdenv.mkDerivation {
systemd
wayland
wayland-protocols
hyprlang
];

dontWrapQtApps = true;
Expand Down

0 comments on commit 7feeaa1

Please sign in to comment.