mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 10:45:58 +01:00
flake.nix: override wayland
This commit is contained in:
parent
67c73ec100
commit
1a91c6ee60
1 changed files with 15 additions and 1 deletions
16
flake.nix
16
flake.nix
|
@ -32,7 +32,21 @@
|
||||||
"x86_64-linux"
|
"x86_64-linux"
|
||||||
];
|
];
|
||||||
|
|
||||||
pkgsFor = nixpkgs.legacyPackages;
|
pkgsFor = genSystems (system:
|
||||||
|
import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
overlays = [
|
||||||
|
(_: prev: {
|
||||||
|
wayland = prev.wayland.overrideAttrs (old: rec {
|
||||||
|
version = "1.22.0";
|
||||||
|
src = prev.fetchurl {
|
||||||
|
url = "https://gitlab.freedesktop.org/wayland/wayland/-/releases/${version}/downloads/${old.pname}-${version}.tar.xz";
|
||||||
|
hash = "sha256-FUCvHqaYpHHC2OnSiDMsfg/TYMjx0Sk267fny8JCWEI=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
})
|
||||||
|
];
|
||||||
|
});
|
||||||
|
|
||||||
props = builtins.fromJSON (builtins.readFile ./props.json);
|
props = builtins.fromJSON (builtins.readFile ./props.json);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue