fix: drop weird package that was caused by stupidity
This commit is contained in:
parent
95d422c9b4
commit
51afc6542d
|
@ -15,13 +15,34 @@
|
||||||
poppler,
|
poppler,
|
||||||
pugixml,
|
pugixml,
|
||||||
SDL2,
|
SDL2,
|
||||||
|
writeText,
|
||||||
...
|
...
|
||||||
}:
|
}: let
|
||||||
|
|
||||||
let
|
|
||||||
version = "3.1.0";
|
version = "3.1.0";
|
||||||
hash = "sha256-v9nOY9T5VOVLBUKoDXqwYa1iYvW42iGA+3kpPUOmHkg=";
|
hash = "sha256-v9nOY9T5VOVLBUKoDXqwYa1iYvW42iGA+3kpPUOmHkg=";
|
||||||
in stdenv.mkDerivation {
|
|
||||||
|
patch = writeText "emulationstation-de.patch" ''
|
||||||
|
--- a/resources/systems/unix/es_find_rules.xml
|
||||||
|
+++ b/resources/systems/unix/es_find_rules.xml
|
||||||
|
@@ -19,6 +19,8 @@
|
||||||
|
<entry>~/.config/retroarch/cores</entry>
|
||||||
|
<!-- FreeBSD repository -->
|
||||||
|
<entry>/usr/local/lib/libretro</entry>
|
||||||
|
+ <!-- NixOS / Nixpkgs -->
|
||||||
|
+ <entry>/run/current-system/sw/lib/retroarch/cores</entry>
|
||||||
|
</rule>
|
||||||
|
</core>
|
||||||
|
<emulator name="ADVANCEMAME">
|
||||||
|
@@ -667,4 +669,4 @@
|
||||||
|
<entry>~/bin/ZEsarUX/zesarux</entry>
|
||||||
|
</rule>
|
||||||
|
</emulator>
|
||||||
|
-</ruleList>
|
||||||
|
\ No newline at end of file
|
||||||
|
+</ruleList>
|
||||||
|
'';
|
||||||
|
in
|
||||||
|
stdenv.mkDerivation {
|
||||||
pname = "emulationstation-de";
|
pname = "emulationstation-de";
|
||||||
inherit version;
|
inherit version;
|
||||||
|
|
||||||
|
@ -30,7 +51,7 @@ in stdenv.mkDerivation {
|
||||||
inherit hash;
|
inherit hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./emulationstation-de.patch ];
|
patches = [patch];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
|
@ -70,9 +91,9 @@ in stdenv.mkDerivation {
|
||||||
meta = {
|
meta = {
|
||||||
description = "EmulationStation Desktop Edition is a frontend for browsing and launching games from your multi-platform game collection";
|
description = "EmulationStation Desktop Edition is a frontend for browsing and launching games from your multi-platform game collection";
|
||||||
homepage = "https://es-de.org";
|
homepage = "https://es-de.org";
|
||||||
maintainers = with lib.maintainers; [ ivarmedi ];
|
maintainers = with lib.maintainers; [ivarmedi];
|
||||||
license = lib.licenses.mit;
|
license = lib.licenses.mit;
|
||||||
platforms = lib.platforms.linux;
|
platforms = lib.platforms.linux;
|
||||||
mainProgram = "emulationstation";
|
mainProgram = "emulationstation";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,18 +0,0 @@
|
||||||
--- a/resources/systems/unix/es_find_rules.xml
|
|
||||||
+++ b/resources/systems/unix/es_find_rules.xml
|
|
||||||
@@ -19,6 +19,8 @@
|
|
||||||
<entry>~/.config/retroarch/cores</entry>
|
|
||||||
<!-- FreeBSD repository -->
|
|
||||||
<entry>/usr/local/lib/libretro</entry>
|
|
||||||
+ <!-- NixOS / Nixpkgs -->
|
|
||||||
+ <entry>/run/current-system/sw/lib/retroarch/cores</entry>
|
|
||||||
</rule>
|
|
||||||
</core>
|
|
||||||
<emulator name="ADVANCEMAME">
|
|
||||||
@@ -667,4 +669,4 @@
|
|
||||||
<entry>~/bin/ZEsarUX/zesarux</entry>
|
|
||||||
</rule>
|
|
||||||
</emulator>
|
|
||||||
-</ruleList>
|
|
||||||
\ No newline at end of file
|
|
||||||
+</ruleList>
|
|
Loading…
Reference in a new issue