ukmm: prefer finalAttrs over rec

This commit is contained in:
Kira Bruneau
2025-03-06 14:33:54 -05:00
parent af29d35b02
commit b67e256526
+4 -4
View File
@@ -12,14 +12,14 @@
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "ukmm";
version = "0.15.0";
src = fetchFromGitHub {
owner = "NiceneNerd";
repo = "ukmm";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-NZN+T2N+N+oxrjBRvVbRWbB2KY5im9SN7gPHzfvovl8=";
};
@@ -80,11 +80,11 @@ rustPlatform.buildRustPackage rec {
meta = with lib; {
description = "New mod manager for The Legend of Zelda: Breath of the Wild";
homepage = "https://github.com/NiceneNerd/ukmm";
changelog = "https://github.com/NiceneNerd/ukmm/blob/${src.rev}/CHANGELOG.md";
changelog = "https://github.com/NiceneNerd/ukmm/blob/${finalAttrs.src.rev}/CHANGELOG.md";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ kira-bruneau ];
platforms = platforms.linux;
broken = stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64;
mainProgram = "ukmm";
};
}
})