diff --git a/pkgs/development/ocaml-modules/gluten/default.nix b/pkgs/development/ocaml-modules/gluten/default.nix index 689c7a05f659..17f5e2d12c5f 100644 --- a/pkgs/development/ocaml-modules/gluten/default.nix +++ b/pkgs/development/ocaml-modules/gluten/default.nix @@ -6,12 +6,12 @@ lib, }: -buildDunePackage rec { +buildDunePackage (finalAttrs: { pname = "gluten"; version = "0.5.2"; src = fetchurl { - url = "https://github.com/anmonteiro/gluten/releases/download/${version}/gluten-${version}.tbz"; + url = "https://github.com/anmonteiro/gluten/releases/download/${finalAttrs.version}/gluten-${finalAttrs.version}.tbz"; hash = "sha256-se7Yn59ggLtL0onMjSUsa88B8D05Vybmb6YGcgfnAV8="; }; @@ -30,4 +30,4 @@ buildDunePackage rec { homepage = "https://github.com/anmonteiro/gluten"; maintainers = with lib.maintainers; [ anmonteiro ]; }; -} +})