diff --git a/pkgs/by-name/ni/niri/package.nix b/pkgs/by-name/ni/niri/package.nix index 312d7e95f3cb..5fa4d336df29 100644 --- a/pkgs/by-name/ni/niri/package.nix +++ b/pkgs/by-name/ni/niri/package.nix @@ -24,13 +24,13 @@ rustPlatform.buildRustPackage rec { pname = "niri"; - version = "0.1.10.1"; + version = "25.01"; src = fetchFromGitHub { owner = "YaLTeR"; repo = "niri"; tag = "v${version}"; - hash = "sha256-Qjf7alRbPPERfiZsM9EMKX+HwjESky1tieh5PJIkLwE="; + hash = "sha256-AJ1rlgNOPb3/+DbS5hkhm21t6Oz8IgqLllwmZt0lyzk="; }; postPatch = '' @@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec { ''; useFetchCargoVendor = true; - cargoHash = "sha256-2hFavY3Y6aBPjo53o7GMjuvUKOcj+ZQiV0M1mpoH/Ck="; + cargoHash = "sha256-eGI3i7FnjZGEfcGvEpNLOog8cgExBJuGoXM/oHsui0M="; strictDeps = true; @@ -102,6 +102,10 @@ rustPlatform.buildRustPackage rec { ); }; + preCheck = '' + export XDG_RUNTIME_DIR=$(mktemp -d) + ''; + passthru = { providedSessions = [ "niri" ]; updateScript = nix-update-script { };