diff --git a/pkgs/development/ocaml-modules/mirage-console/default.nix b/pkgs/development/ocaml-modules/mirage-console/default.nix index c22bf4d287f2..21e7a1a279a7 100644 --- a/pkgs/development/ocaml-modules/mirage-console/default.nix +++ b/pkgs/development/ocaml-modules/mirage-console/default.nix @@ -6,7 +6,7 @@ mirage-flow, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "mirage-console"; version = "5.1.0"; @@ -14,7 +14,7 @@ buildDunePackage rec { duneVersion = "3"; src = fetchurl { - url = "https://github.com/mirage/mirage-console/releases/download/v${version}/mirage-console-${version}.tbz"; + url = "https://github.com/mirage/mirage-console/releases/download/v${finalAttrs.version}/mirage-console-${finalAttrs.version}.tbz"; hash = "sha256-mjYRisbNOJbYoSuWaGoPueXakmqAwmWh0ATvLLsvpNM="; }; @@ -29,4 +29,4 @@ buildDunePackage rec { license = lib.licenses.isc; maintainers = [ lib.maintainers.vbgl ]; }; -} +})