From e2e4a9f01fdbeda786e837bc7a24be8c3a6768af Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 24 Nov 2025 04:54:34 +0100 Subject: [PATCH] ocamlPackages.lwt-watcher: small cleaning --- pkgs/development/ocaml-modules/lwt-watcher/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/development/ocaml-modules/lwt-watcher/default.nix b/pkgs/development/ocaml-modules/lwt-watcher/default.nix index 02bfc43abc5b..27a64c186efd 100644 --- a/pkgs/development/ocaml-modules/lwt-watcher/default.nix +++ b/pkgs/development/ocaml-modules/lwt-watcher/default.nix @@ -5,18 +5,16 @@ lwt, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "lwt-watcher"; version = "0.2"; src = fetchFromGitLab { owner = "nomadic-labs"; - repo = pname; - rev = "v${version}"; + repo = "lwt-watcher"; + tag = "v${finalAttrs.version}"; hash = "sha256-35Z73bSzEEgTabNH2cD9lRdDczsyIMZR2ktyKx4aN9k="; }; - useDune2 = true; - propagatedBuildInputs = [ lwt ]; @@ -28,4 +26,4 @@ buildDunePackage rec { license = lib.licenses.mit; maintainers = [ lib.maintainers.ulrikstrid ]; }; -} +})