[Backport release-25.05] niri: 25.05.1 -> 25.08 (#438660)

This commit is contained in:
Seth Flynn
2025-09-02 17:53:59 -04:00
committed by GitHub

View File

@@ -25,13 +25,13 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "niri";
version = "25.05.1";
version = "25.08";
src = fetchFromGitHub {
owner = "YaLTeR";
repo = "niri";
tag = "v${finalAttrs.version}";
hash = "sha256-z4viQZLgC2bIJ3VrzQnR+q2F3gAOEQpU1H5xHtX/2fs=";
hash = "sha256-RLD89dfjN0RVO86C/Mot0T7aduCygPGaYbog566F0Qo=";
};
outputs = [
@@ -45,7 +45,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
--replace-fail '/usr/bin' "$out/bin"
'';
cargoHash = "sha256-8ltuI94yIhff7JxIfe1mog4bDJ/7VFgLooMWOnSTREs=";
cargoHash = "sha256-lR0emU2sOnlncN00z6DwDIE2ljI+D2xoKqG3rS45xG0=";
strictDeps = true;
@@ -78,7 +78,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
postInstall = ''
install -Dm0644 README.md resources/default-config.kdl -t $doc/share/doc/niri
mv wiki $doc/share/doc/niri/wiki
mv docs/wiki $doc/share/doc/niri/wiki
install -Dm0644 resources/niri.desktop -t $out/share/wayland-sessions
''
@@ -113,6 +113,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
NIRI_BUILD_COMMIT = "Nixpkgs";
};
checkFlags = [ "--skip=::egl" ];
nativeInstallCheckInputs = [ versionCheckHook ];
versionCheckProgramArg = "--version";
doInstallCheck = true;