diff options
| author | Mihai Fufezan <fufexan@protonmail.com> | 2022-10-23 00:01:55 +0300 |
|---|---|---|
| committer | Mihai Fufezan <fufexan@protonmail.com> | 2022-10-23 00:01:55 +0300 |
| commit | 3dca2fd61efa64b3b8d521cb2977ebc40d24e541 (patch) | |
| tree | 9c1b451a019e9604e0cd746e4a4b8f4c9fa9b89b | |
| parent | 47eac4be1cde424f12e942d58813a10869bfb169 (diff) | |
Nix: override wayland-protocols
| -rw-r--r-- | flake.nix | 15 |
1 files changed, 14 insertions, 1 deletions
@@ -20,7 +20,20 @@ "aarch64-linux" "x86_64-linux" ]; - pkgsFor = nixpkgs.legacyPackages; + + pkgsFor = genSystems (system: import nixpkgs { + inherit system; + overlays = [(_: prev: { + wayland-protocols = prev.wayland-protocols.overrideAttrs (old: rec { + version = "1.27"; + src = prev.fetchurl { + url = "https://gitlab.freedesktop.org/wayland/${old.pname}/-/releases/${version}/downloads/${old.pname}-${version}.tar.xz"; + hash = "sha256-kEbxCkJdTioAlloDrPtrP7V1pWUDrHLCuGghxpZTN1w="; + }; + }); + })]; + }); + mkDate = longDate: (lib.concatStringsSep "-" [ (builtins.substring 0 4 longDate) (builtins.substring 4 2 longDate) |
