odin2: use finalAttrs instead of rec

This commit is contained in:
Olli Helenius
2025-08-17 12:03:12 +03:00
parent 7714c4b411
commit 70da9f8e7f
+3 -3
View File
@@ -18,14 +18,14 @@
nix-update-script,
}:
stdenv.mkDerivation rec {
stdenv.mkDerivation (finalAttrs: {
pname = "odin2";
version = "2.3.4";
src = fetchFromGitHub {
owner = "TheWaveWarden";
repo = "odin2";
tag = "v${version}";
tag = "v${finalAttrs.version}";
fetchSubmodules = true;
hash = "sha256-N96Nb7G6hqfh8DyMtHbttl/fRZUkS8f2KfPSqeMAhHY=";
};
@@ -89,4 +89,4 @@ stdenv.mkDerivation rec {
maintainers = with maintainers; [ magnetophon ];
mainProgram = "Odin2";
};
}
})