nix: add hyprland-protocols through pkgconfig (#1275)

This commit is contained in:
Mihai Fufezan
2023-01-07 20:25:20 +02:00
committed by GitHub
parent af4b9700b7
commit 809b7181a8
3 changed files with 11 additions and 10 deletions

View File

@@ -15,7 +15,7 @@
hyprland-protocols = {
url = "github:hyprwm/hyprland-protocols";
flake = false;
inputs.nixpkgs.follows = "nixpkgs";
};
};
@@ -50,7 +50,7 @@
stdenv = prev.gcc12Stdenv;
version = props.version + "+date=" + (mkDate (self.lastModifiedDate or "19700101")) + "_" + (self.shortRev or "dirty");
wlroots = wlroots-hyprland;
inherit (inputs) hyprland-protocols;
inherit (inputs.hyprland-protocols.packages.${prev.hostPlatform.system}) hyprland-protocols;
};
hyprland-debug = hyprland.override {debug = true;};
hyprland-no-hidpi = hyprland.override {hidpiXWayland = false;};