From a06da2fa62082accad29a7c0cba424e942ac055d Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 10:13:44 -0600 Subject: [PATCH] ocamlPackages.gluten: migrate to finalAttrs --- pkgs/development/ocaml-modules/gluten/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/gluten/default.nix b/pkgs/development/ocaml-modules/gluten/default.nix index 689c7a05f659..17f5e2d12c5f 100644 --- a/pkgs/development/ocaml-modules/gluten/default.nix +++ b/pkgs/development/ocaml-modules/gluten/default.nix @@ -6,12 +6,12 @@ lib, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "gluten"; version = "0.5.2"; src = fetchurl { - url = "https://github.com/anmonteiro/gluten/releases/download/${version}/gluten-${version}.tbz"; + url = "https://github.com/anmonteiro/gluten/releases/download/${finalAttrs.version}/gluten-${finalAttrs.version}.tbz"; hash = "sha256-se7Yn59ggLtL0onMjSUsa88B8D05Vybmb6YGcgfnAV8="; }; @@ -30,4 +30,4 @@ buildDunePackage rec { homepage = "https://github.com/anmonteiro/gluten"; maintainers = with lib.maintainers; [ anmonteiro ]; }; -} +})