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 d7377db
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
21 changes: 20 additions & 1 deletion flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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 @@ -5,6 +5,7 @@
meson,
ninja,
pkg-config,
hyprlang,
libdrm,
mesa,
pipewire,
Expand Down Expand Up @@ -48,6 +49,7 @@ stdenv.mkDerivation {
libdrm
mesa
pipewire
hyprlang
qtbase
qttools
qtwayland
Expand Down

0 comments on commit d7377db

Please sign in to comment.