diff --git a/pkgs/development/ocaml-modules/mirage-profile/default.nix b/pkgs/development/ocaml-modules/mirage-profile/default.nix index ff7a539ece0d..e42c5448cc7c 100644 --- a/pkgs/development/ocaml-modules/mirage-profile/default.nix +++ b/pkgs/development/ocaml-modules/mirage-profile/default.nix @@ -8,14 +8,14 @@ lwt, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "mirage-profile"; version = "0.9.1"; duneVersion = "3"; src = fetchurl { - url = "https://github.com/mirage/mirage-profile/releases/download/v${version}/mirage-profile-v${version}.tbz"; + url = "https://github.com/mirage/mirage-profile/releases/download/v${finalAttrs.version}/mirage-profile-v${finalAttrs.version}.tbz"; sha256 = "0lh3591ad4v7nxpd410b75idmgdq668mqdilvkg4avrwqw1wzdib"; }; @@ -32,4 +32,4 @@ buildDunePackage rec { license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ vbgl ]; }; -} +})