From 20d2b7d8f4e5df5cf77e77d3442bf80b195597b1 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 12:08:30 -0600 Subject: [PATCH] ocamlPackages.ocaml-result: migrate to finalAttrs --- pkgs/development/ocaml-modules/ocaml-result/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/ocaml-result/default.nix b/pkgs/development/ocaml-modules/ocaml-result/default.nix index 710f1ede3e78..a59f1b0e3b8e 100644 --- a/pkgs/development/ocaml-modules/ocaml-result/default.nix +++ b/pkgs/development/ocaml-modules/ocaml-result/default.nix @@ -4,12 +4,12 @@ fetchurl, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "result"; version = "1.5"; src = fetchurl { - url = "https://github.com/janestreet/result/releases/download/${version}/result-${version}.tbz"; + url = "https://github.com/janestreet/result/releases/download/${finalAttrs.version}/result-${finalAttrs.version}.tbz"; sha256 = "0cpfp35fdwnv3p30a06wd0py3805qxmq3jmcynjc3x2qhlimwfkw"; }; @@ -23,4 +23,4 @@ buildDunePackage rec { ''; license = lib.licenses.bsd3; }; -} +})