ocamlPackages.ocaml-result: migrate to finalAttrs

This commit is contained in:
Guy Chronister
2026-01-22 12:08:30 -06:00
parent d1f41b2141
commit 20d2b7d8f4
@@ -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;
};
}
})