inko: use finalAttrs

This commit is contained in:
Sizhe Zhao
2025-07-07 15:37:15 +08:00
parent c209ee6545
commit edfd40fecd
+3 -3
View File
@@ -13,14 +13,14 @@
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "inko";
version = "0.18.1";
src = fetchFromGitHub {
owner = "inko-lang";
repo = "inko";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-jVfAfR02R2RaTtzFSBoLuq/wdPaaI/eochrZaRVdmHY=";
};
@@ -72,4 +72,4 @@ rustPlatform.buildRustPackage rec {
platforms = lib.platforms.unix;
mainProgram = "inko";
};
}
})