From dfa9e59dd366bba6655e18713c1d5c8ca19d7a1e Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Thu, 22 Jan 2026 10:13:46 -0600 Subject: [PATCH] ocamlPackages.graphql: migrate to finalAttrs --- pkgs/development/ocaml-modules/graphql/parser.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/ocaml-modules/graphql/parser.nix b/pkgs/development/ocaml-modules/graphql/parser.nix index 23fbd366f955..477c84004655 100644 --- a/pkgs/development/ocaml-modules/graphql/parser.nix +++ b/pkgs/development/ocaml-modules/graphql/parser.nix @@ -8,7 +8,7 @@ re, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "graphql_parser"; version = "0.14.0"; @@ -16,7 +16,7 @@ buildDunePackage rec { duneVersion = "3"; src = fetchurl { - url = "https://github.com/andreas/ocaml-graphql-server/releases/download/${version}/graphql-${version}.tbz"; + url = "https://github.com/andreas/ocaml-graphql-server/releases/download/${finalAttrs.version}/graphql-${finalAttrs.version}.tbz"; sha256 = "sha256-v4v1ueF+NV7LvYIVinaf4rE450Z1P9OiMAito6/NHAY="; }; @@ -37,4 +37,4 @@ buildDunePackage rec { maintainers = [ lib.maintainers.vbgl ]; }; -} +})