diff --git a/pkgs/development/ocaml-modules/lastfm/default.nix b/pkgs/development/ocaml-modules/lastfm/default.nix index 88d23138d571..85d077a31758 100644 --- a/pkgs/development/ocaml-modules/lastfm/default.nix +++ b/pkgs/development/ocaml-modules/lastfm/default.nix @@ -6,7 +6,7 @@ xmlplaylist, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "lastfm"; version = "0.3.4"; @@ -15,7 +15,7 @@ buildDunePackage rec { src = fetchFromGitHub { owner = "savonet"; repo = "ocaml-lastfm"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-1te9B2+sUmkT/i2K5ueswWAWpvJf9rXob0zR4CMOJlg="; }; @@ -30,4 +30,4 @@ buildDunePackage rec { license = lib.licenses.lgpl21Only; maintainers = with lib.maintainers; [ dandellion ]; }; -} +})