lora: use finalAttrs instead of rec

This commit is contained in:
Heitor Augusto
2025-02-10 18:49:41 -03:00
parent 41d706f5e2
commit abc4b21161
+3 -3
View File
@@ -5,14 +5,14 @@
nix-update-script,
}:
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "lora";
version = "3.005";
src = fetchFromGitHub {
owner = "cyrealtype";
repo = "lora";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-EHa8DUPFRvdYBdCY41gfjKGtTHwGIXCwD9Qc+Npmt1s=";
};
@@ -37,4 +37,4 @@ stdenvNoCC.mkDerivation rec {
platforms = platforms.all;
maintainers = with maintainers; [ ofalvai ];
};
}
})