From 1a692f944965cc8fe9352c411bb0d69c06e41d78 Mon Sep 17 00:00:00 2001 From: Guy Chronister Date: Wed, 21 Jan 2026 15:59:45 -0600 Subject: [PATCH] ocamlPackages.frontc: migrate to finalAttrs --- pkgs/development/ocaml-modules/frontc/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/ocaml-modules/frontc/default.nix b/pkgs/development/ocaml-modules/frontc/default.nix index 3f204ad06b68..2f6ee7529693 100644 --- a/pkgs/development/ocaml-modules/frontc/default.nix +++ b/pkgs/development/ocaml-modules/frontc/default.nix @@ -6,14 +6,14 @@ menhir, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "FrontC"; version = "4.1.0"; src = fetchFromGitHub { owner = "BinaryAnalysisPlatform"; repo = "FrontC"; - rev = "v${version}"; + rev = "v${finalAttrs.version}"; sha256 = "1mi1vh4qgscnb470qwidccaqd068j1bqlz6pf6wddk21paliwnqb"; }; @@ -22,10 +22,10 @@ buildDunePackage rec { nativeBuildInputs = [ menhir ]; meta = { - inherit (src.meta) homepage; + inherit (finalAttrs.src.meta) homepage; inherit (ocaml.meta) platforms; description = "C Parsing Library"; license = lib.licenses.lgpl21; maintainers = [ lib.maintainers.maurer ]; }; -} +})