diff --git a/pkgs/development/interpreters/rakudo/default.nix b/pkgs/development/interpreters/rakudo/default.nix index 5acec350035c..72154ce6a657 100644 --- a/pkgs/development/interpreters/rakudo/default.nix +++ b/pkgs/development/interpreters/rakudo/default.nix @@ -1,12 +1,15 @@ -{ stdenv, fetchurl, perl, icu, zlib, gmp, lib, nqp, removeReferencesTo }: +{ stdenv, fetchFromGitHub, perl, icu, zlib, gmp, lib, nqp, removeReferencesTo }: stdenv.mkDerivation rec { pname = "rakudo"; - version = "2023.02"; + version = "2023.04"; - src = fetchurl { - url = "https://rakudo.org/dl/rakudo/rakudo-${version}.tar.gz"; - hash = "sha256-/RaGqizzLrnw630Nb5bfyJfPU8z4ntp9Iltoc4CTqhE="; + src = fetchFromGitHub { + owner = "rakudo"; + repo = "rakudo"; + rev = version; + hash = "sha256-m5rXriBKfp/i9AIcBGCYGfXIGBRsxgVmBbLJPXXc5AY="; + fetchSubmodules = true; }; nativeBuildInputs = [ removeReferencesTo ];