From ffb21cce7ea427cd8b37fde2f144b7bba3f55345 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Wed, 21 Jan 2026 15:59:44 -0600 Subject: [PATCH] ocamlPackages.bitstring: migrate to finalAttrs --- pkgs/development/ocaml-modules/bitstring/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/bitstring/default.nix b/pkgs/development/ocaml-modules/bitstring/default.nix index 106edfd31864..4c612b177a7c 100644 --- a/pkgs/development/ocaml-modules/bitstring/default.nix +++ b/pkgs/development/ocaml-modules/bitstring/default.nix @@ -5,7 +5,7 @@ stdlib-shims, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "bitstring"; version = "4.1.1"; @@ -13,8 +13,8 @@ buildDunePackage rec { src = fetchFromGitHub { owner = "xguerin"; - repo = pname; - rev = "v${version}"; + repo = "bitstring"; + rev = "v${finalAttrs.version}"; sha256 = "sha256-eO7/S9PoMybZPnQQ+q9qbqKpYO4Foc9OjW4uiwwNds8="; }; @@ -26,4 +26,4 @@ buildDunePackage rec { license = lib.licenses.lgpl21Plus; maintainers = [ lib.maintainers.maurer ]; }; -} +})