From 5c1dd50430bada7a4accc47cfab33261b3908349 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 24 Nov 2025 04:54:31 +0100 Subject: [PATCH] ocamlPackages.lwt-exit: small cleaning --- .../development/ocaml-modules/lwt-exit/default.nix | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/pkgs/development/ocaml-modules/lwt-exit/default.nix b/pkgs/development/ocaml-modules/lwt-exit/default.nix index 44365f9d6b35..bc9288d9d152 100644 --- a/pkgs/development/ocaml-modules/lwt-exit/default.nix +++ b/pkgs/development/ocaml-modules/lwt-exit/default.nix @@ -6,20 +6,16 @@ ptime, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "lwt-exit"; version = "1.0"; src = fetchFromGitLab { owner = "nomadic-labs"; - repo = pname; - rev = version; - sha256 = "1k763bmj1asj9ijar39rh3h1d59rckmsf21h2y8966lgglsf42bd"; + repo = "lwt-exit"; + tag = finalAttrs.version; + hash = "sha256-bQniNH2PGpOQFzAIp+tkOZUW4IA5jaxkTFKrIOsa5sw="; }; - useDune2 = true; - - minimalOCamlVersion = "4.08"; - propagatedBuildInputs = [ lwt ptime @@ -33,4 +29,4 @@ buildDunePackage rec { license = lib.licenses.mit; maintainers = [ lib.maintainers.ulrikstrid ]; }; -} +})