From 836946d4bdf814a5e6d49320ad7c6bc3bfc77bfe Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Wed, 21 Jan 2026 15:59:45 -0600 Subject: [PATCH] ocamlPackages.bwd: migrate to finalAttrs --- pkgs/development/ocaml-modules/bwd/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/bwd/default.nix b/pkgs/development/ocaml-modules/bwd/default.nix index c6179b4f31e3..837802bf25d2 100644 --- a/pkgs/development/ocaml-modules/bwd/default.nix +++ b/pkgs/development/ocaml-modules/bwd/default.nix @@ -5,7 +5,7 @@ qcheck-core, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "bwd"; version = "2.3.0"; @@ -15,7 +15,7 @@ buildDunePackage rec { src = fetchFromGitHub { owner = "RedPRL"; repo = "ocaml-bwd"; - rev = version; + rev = finalAttrs.version; hash = "sha256-rzn0U/D6kPNsH5hBTElc3d1jfKbgKbjA2JHicpaJtu4="; }; @@ -25,8 +25,8 @@ buildDunePackage rec { meta = { description = "Backward Lists"; homepage = "https://github.com/RedPRL/ocaml-bwd"; - changelog = "https://github.com/RedPRL/ocaml-bwd/blob/${version}/CHANGELOG.markdown"; + changelog = "https://github.com/RedPRL/ocaml-bwd/blob/${finalAttrs.version}/CHANGELOG.markdown"; license = lib.licenses.asl20; maintainers = [ lib.maintainers.vbgl ]; }; -} +})