diff options
| author | Mihai Fufezan <fufexan@protonmail.com> | 2023-04-23 23:43:48 +0300 |
|---|---|---|
| committer | Mihai Fufezan <fufexan@pm.me> | 2023-04-24 01:22:26 +0300 |
| commit | 1a91c6ee603e3e779f288ad9189992faeda944f8 (patch) | |
| tree | 839027ade3db1a477e696151dc43f4f4ea28919b | |
| parent | 67c73ec10036c5ff9bda392390ecc7af48d4feee (diff) | |
flake.nix: override wayland
| -rw-r--r-- | flake.nix | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -32,7 +32,21 @@ "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); |
