retroarch: 1.9.13.2 -> 1.9.2

From retroarch 1.9.3 and above, it stops loading the cores.

This probably can be fixed, but for now at least this brings the
retroarch to a newer (working) version.
This commit is contained in:
Thiago Kenji Okada 2021-11-16 20:37:52 -03:00
parent bf93ad6b39
commit 75e1954f63
2 changed files with 7 additions and 6 deletions

View file

@ -22,12 +22,13 @@ with lib;
stdenv.mkDerivation rec {
pname = "retroarch-bare";
version = "1.9.13.2";
# FIXME: retroarch >=1.9.3 doesn't load the cores
version = "1.9.2";
src = fetchFromGitHub {
owner = "libretro";
repo = "RetroArch";
sha256 = "sha256-fehHchn+o9QM2wIK6zYamnbFvQda32Gw0rJk8Orx00U=";
sha256 = "sha256-Dwv0hl+d99FbVMG4KnkjO1aYfAw0m4x+zvrbyb/wOX8=";
rev = "v${version}";
};

View file

@ -1,4 +1,4 @@
{ stdenv, lib, makeWrapper, retroarch, cores }:
{ stdenv, lib, makeWrapper, retroarch, cores ? [ ] }:
stdenv.mkDerivation {
pname = "retroarch";
@ -8,10 +8,10 @@ stdenv.mkDerivation {
buildCommand = ''
mkdir -p $out/lib
$(for coreDir in $cores
for coreDir in $cores
do
$(ln -s $coreDir/* $out/lib/.)
done)
ln -s $coreDir/* $out/lib/.
done
ln -s -t $out ${retroarch}/share