From d37761e92d2c08b48036120966af8d682e1286ac Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 10:13:43 -0600 Subject: [PATCH] ocamlPackages.gitlab: migrate to finalAttrs --- pkgs/development/ocaml-modules/gitlab/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/gitlab/default.nix b/pkgs/development/ocaml-modules/gitlab/default.nix index 3f0255d29ec0..c2f57e351a67 100644 --- a/pkgs/development/ocaml-modules/gitlab/default.nix +++ b/pkgs/development/ocaml-modules/gitlab/default.nix @@ -11,14 +11,14 @@ stringext, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "gitlab"; version = "0.1.8"; src = fetchFromGitHub { owner = "tmcgilchrist"; repo = "ocaml-gitlab"; - rev = version; + rev = finalAttrs.version; hash = "sha256-7pUpH1SoP4eW8ild5j+Tcy+aTXq0+eSkhKUOXJ6Z30k="; }; @@ -46,7 +46,7 @@ buildDunePackage rec { homepage = "https://github.com/tmcgilchrist/ocaml-gitlab"; description = "Native OCaml bindings to Gitlab REST API v4"; license = lib.licenses.bsd3; - changelog = "https://github.com/tmcgilchrist/ocaml-gitlab/releases/tag/${version}"; + changelog = "https://github.com/tmcgilchrist/ocaml-gitlab/releases/tag/${finalAttrs.version}"; maintainers = with lib.maintainers; [ zazedd ]; }; -} +})