about summary refs log tree commit diff
path: root/pkgs/applications/emulators
diff options
context:
space:
mode:
authoréclairevoyant <848000+eclairevoyant@users.noreply.github.com>2024-06-03 14:46:10 -0400
committeréclairevoyant <848000+eclairevoyant@users.noreply.github.com>2024-06-03 14:46:10 -0400
commitb0e8aea401acda527de710902fce523140d33574 (patch)
tree6cd810b982c89975d8c3591da4a6ee103496eb00 /pkgs/applications/emulators
parent762cb6cacd9e4ab9053db4989ea9e8dfe520f82d (diff)
cemu: fix build
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r--pkgs/applications/emulators/cemu/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/applications/emulators/cemu/default.nix b/pkgs/applications/emulators/cemu/default.nix
index b8aef2760eb3a..c5860d3b0b265 100644
--- a/pkgs/applications/emulators/cemu/default.nix
+++ b/pkgs/applications/emulators/cemu/default.nix
@@ -108,7 +108,8 @@ in stdenv.mkDerivation rec {
     tag = last (splitString "-" version);
   in ''
     rm -rf dependencies/imgui
-    ln -s ${imgui'}/include/imgui dependencies/imgui
+    # cemu expects imgui source code, not just header files
+    ln -s ${imgui'.src} dependencies/imgui
     substituteInPlace src/Common/version.h --replace " (experimental)" "-${tag} (experimental)"
     substituteInPlace dependencies/gamemode/lib/gamemode_client.h --replace "libgamemode.so.0" "${gamemode.lib}/lib/libgamemode.so.0"
   '';