diff --git a/pkgs/by-name/co/comma/package.nix b/pkgs/by-name/co/comma/package.nix index e6dfa9cbfb56..6d38d4f30acd 100644 --- a/pkgs/by-name/co/comma/package.nix +++ b/pkgs/by-name/co/comma/package.nix @@ -12,14 +12,14 @@ buildPackages, }: -rustPlatform.buildRustPackage rec { +rustPlatform.buildRustPackage (finalAttrs: { pname = "comma"; version = "2.3.3"; src = fetchFromGitHub { owner = "nix-community"; repo = "comma"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; hash = "sha256-dNek1a8Yt3icWc8ZpVe1NGuG+eSoTDOmAAJbkYmMocU="; }; @@ -67,4 +67,4 @@ rustPlatform.buildRustPackage rec { mainProgram = "comma"; maintainers = with lib.maintainers; [ artturin ]; }; -} +})