libretro.citra: fix compilation

+7 -2
+7 -2
pkgs/misc/emulators/retroarch/cores.nix
··· 8 8 , cmake 9 9 , curl 10 10 , fetchFromGitHub 11 - , fetchgit 12 11 , fetchpatch 13 12 , ffmpeg 14 13 , fluidsynth ··· 264 263 265 264 citra = mkLibRetroCore rec { 266 265 core = "citra"; 267 - src = getCoreSrc core; 266 + # `nix-prefetch-github` doesn't support `deepClone`, necessary for citra 267 + # https://github.com/seppeljordan/nix-prefetch-github/issues/41 268 + src = fetchFromGitHub { 269 + inherit (hashesFile.citra) owner repo rev fetchSubmodules; 270 + deepClone = true; 271 + sha256 = "sha256-bwnYkMvbtRF5bGZRYVtMWxnCu9P45qeX4+ntOj9eRds="; 272 + }; 268 273 description = "Port of Citra to libretro"; 269 274 license = gpl2Plus; 270 275 extraNativeBuildInputs = [ cmake pkg-config ];