libretro.citra: fix compilation

+7 -2
+7 -2
pkgs/misc/emulators/retroarch/cores.nix
··· 8 , cmake 9 , curl 10 , fetchFromGitHub 11 - , fetchgit 12 , fetchpatch 13 , ffmpeg 14 , fluidsynth ··· 264 265 citra = mkLibRetroCore rec { 266 core = "citra"; 267 - src = getCoreSrc core; 268 description = "Port of Citra to libretro"; 269 license = gpl2Plus; 270 extraNativeBuildInputs = [ cmake pkg-config ];
··· 8 , cmake 9 , curl 10 , fetchFromGitHub 11 , fetchpatch 12 , ffmpeg 13 , fluidsynth ··· 263 264 citra = mkLibRetroCore rec { 265 core = "citra"; 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 + }; 273 description = "Port of Citra to libretro"; 274 license = gpl2Plus; 275 extraNativeBuildInputs = [ cmake pkg-config ];