diff --git a/pkgs/development/ocaml-modules/ohex/default.nix b/pkgs/development/ocaml-modules/ohex/default.nix index 49bf6005c686..f61d204c14e5 100644 --- a/pkgs/development/ocaml-modules/ohex/default.nix +++ b/pkgs/development/ocaml-modules/ohex/default.nix @@ -5,12 +5,12 @@ alcotest, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "ohex"; version = "0.2.0"; src = fetchurl { - url = "https://github.com/ocaml/opam-source-archives/raw/main/ohex-${version}.tar.gz"; + url = "https://github.com/ocaml/opam-source-archives/raw/main/ohex-${finalAttrs.version}.tar.gz"; hash = "sha256-prV7rbo0sAx3S2t4YtjniJEVq43uLXK8ZMsqoMzn2Ow="; }; @@ -22,4 +22,4 @@ buildDunePackage rec { license = lib.licenses.bsd2; maintainers = [ lib.maintainers.vbgl ]; }; -} +})