Skip to content

Commit

Permalink
[Backport release-24.11] niri: 0.1.10.1 -> 25.01 (#373116)
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillrdy authored Jan 12, 2025
2 parents 87d4640 + 12e35d3 commit 355833c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions pkgs/by-name/ni/niri/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@

rustPlatform.buildRustPackage rec {
pname = "niri";
version = "0.1.10.1";
version = "25.01";

src = fetchFromGitHub {
owner = "YaLTeR";
repo = "niri";
rev = "refs/tags/v${version}";
hash = "sha256-Qjf7alRbPPERfiZsM9EMKX+HwjESky1tieh5PJIkLwE=";
tag = "v${version}";
hash = "sha256-AJ1rlgNOPb3/+DbS5hkhm21t6Oz8IgqLllwmZt0lyzk=";
};

postPatch = ''
Expand All @@ -40,7 +40,7 @@ rustPlatform.buildRustPackage rec {
'';

useFetchCargoVendor = true;
cargoHash = "sha256-2hFavY3Y6aBPjo53o7GMjuvUKOcj+ZQiV0M1mpoH/Ck=";
cargoHash = "sha256-eGI3i7FnjZGEfcGvEpNLOog8cgExBJuGoXM/oHsui0M=";

strictDeps = true;

Expand Down Expand Up @@ -102,6 +102,10 @@ rustPlatform.buildRustPackage rec {
);
};

preCheck = ''
export XDG_RUNTIME_DIR=$(mktemp -d)
'';

passthru = {
providedSessions = [ "niri" ];
updateScript = nix-update-script { };
Expand Down

0 comments on commit 355833c

Please sign in to comment.