sus-compiler: move to finalAttrs

Signed-off-by: John Titor <50095635+JohnRTitor@users.noreply.github.com>
This commit is contained in:
John Titor
2025-03-17 11:39:58 +05:30
committed by Masum Reza
parent 31109fc40e
commit 15e23ec702
+3 -3
View File
@@ -6,14 +6,14 @@
nix-update-script,
}:
rustPlatform.buildRustPackage rec {
rustPlatform.buildRustPackage (finalAttrs: {
pname = "sus-compiler";
version = "0.2.0";
src = fetchFromGitHub {
owner = "pc2";
repo = "sus-compiler";
rev = "v${version}";
rev = "v${finalAttrs.version}";
hash = "sha256-0OZPBdilNknGCjWzXjyUAW57cpyyyV80EEo6pDlpG3g=";
fetchSubmodules = true;
};
@@ -42,4 +42,4 @@ rustPlatform.buildRustPackage rec {
maintainers = with lib.maintainers; [ pbsds ];
mainProgram = "sus_compiler";
};
}
})