From 811e56f6b3c8a595256533ddbc143f8ebc043657 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 10:14:11 -0600 Subject: [PATCH] ocamlPackages.lastfm: migrate to finalAttrs --- pkgs/development/ocaml-modules/lastfm/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ]; }; -} +})