summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMihai Fufezan <fufexan@protonmail.com>2023-04-23 23:43:48 +0300
committerMihai Fufezan <fufexan@pm.me>2023-04-24 01:22:26 +0300
commit1a91c6ee603e3e779f288ad9189992faeda944f8 (patch)
tree839027ade3db1a477e696151dc43f4f4ea28919b
parent67c73ec10036c5ff9bda392390ecc7af48d4feee (diff)
flake.nix: override wayland
-rw-r--r--flake.nix16
1 files changed, 15 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 71a6cbf6..4b7b3480 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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);