libretro.citra: fix compilation

This commit is contained in:
Thiago Kenji Okada 2021-11-16 16:45:43 -03:00
parent c03e4f141a
commit 71fb85952d

View file

@ -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 ];