diff --git a/pkgs/development/ocaml-modules/happy-eyeballs/default.nix b/pkgs/development/ocaml-modules/happy-eyeballs/default.nix index 43df0a1cec74..e0686ed37fe3 100644 --- a/pkgs/development/ocaml-modules/happy-eyeballs/default.nix +++ b/pkgs/development/ocaml-modules/happy-eyeballs/default.nix @@ -9,14 +9,14 @@ logs, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "happy-eyeballs"; version = "2.0.1"; minimalOCamlVersion = "4.08"; src = fetchurl { - url = "https://github.com/roburio/happy-eyeballs/releases/download/v${version}/happy-eyeballs-${version}.tbz"; + url = "https://github.com/roburio/happy-eyeballs/releases/download/v${finalAttrs.version}/happy-eyeballs-${finalAttrs.version}.tbz"; hash = "sha256-slVFiDApMbqF4Yhh5hCjraeCNJbU1JoZXpU1VsNR0mk="; }; @@ -37,4 +37,4 @@ buildDunePackage rec { ulrikstrid ]; }; -} +})