diff --git a/pkgs/misc/emulators/retroarch/cores.nix b/pkgs/misc/emulators/retroarch/cores.nix index 9c723fb42e63..36e25d28e057 100644 --- a/pkgs/misc/emulators/retroarch/cores.nix +++ b/pkgs/misc/emulators/retroarch/cores.nix @@ -8,7 +8,6 @@ , cmake , curl , fetchFromGitHub -, fetchgit , fetchpatch , ffmpeg , fluidsynth @@ -264,7 +263,13 @@ with lib.licenses; citra = mkLibRetroCore rec { core = "citra"; - src = getCoreSrc core; + # `nix-prefetch-github` doesn't support `deepClone`, necessary for citra + # https://github.com/seppeljordan/nix-prefetch-github/issues/41 + src = fetchFromGitHub { + inherit (hashesFile.citra) owner repo rev fetchSubmodules; + deepClone = true; + sha256 = "sha256-bwnYkMvbtRF5bGZRYVtMWxnCu9P45qeX4+ntOj9eRds="; + }; description = "Port of Citra to libretro"; license = gpl2Plus; extraNativeBuildInputs = [ cmake pkg-config ];