nix: add hyprlang

This commit is contained in:
Vaxry 2024-01-03 13:03:53 +01:00
parent c5b69eb5b5
commit 09e97f5940
3 changed files with 25 additions and 1 deletions

View file

@ -1,5 +1,23 @@
{
"nodes": {
"hyprlang": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1704112024,
"narHash": "sha256-eKS5iEiyfxQYc4R0Bofxtd9rdCCDzw8kpYZx/xj6wb0=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "5cb3d2ba62d94b1e470d308ae05a9589b22c3c07",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprlang",
"type": "github"
}
},
"hyprland-protocols": {
"inputs": {
"nixpkgs": [
@ -43,7 +61,8 @@
"inputs": {
"hyprland-protocols": "hyprland-protocols",
"nixpkgs": "nixpkgs",
"systems": "systems"
"systems": "systems",
"hyprlang": "hyprlang"
}
},
"systems": {

View file

@ -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);

View file

@ -5,6 +5,7 @@
meson,
ninja,
pkg-config,
hyprlang,
libdrm,
mesa,
pipewire,
@ -48,6 +49,7 @@ stdenv.mkDerivation {
libdrm
mesa
pipewire
hyprlang
qtbase
qttools
qtwayland