about summary refs log tree commit diff
path: root/pkgs/applications/emulators
diff options
context:
space:
mode:
authorThiago Kenji Okada <thiagokokada@gmail.com>2023-10-04 19:21:58 +0100
committerGitHub <noreply@github.com>2023-10-04 19:21:58 +0100
commit2462aefa6d4ac82bece4aca7a197815b5e9e19c4 (patch)
tree22d199f72c78d0d494a452511ca0382e2d58ee7b /pkgs/applications/emulators
parentc1a36c3baa9b0901878708c859979f43c15bd92a (diff)
parentfe330c57da8bdd986571071fc606c937163f9f25 (diff)
Merge pull request #259024 from zeuner/pcsx2-fix
retroarchFull: fix pcsx2 core installation
Diffstat (limited to 'pkgs/applications/emulators')
-rw-r--r--pkgs/applications/emulators/retroarch/cores.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/emulators/retroarch/cores.nix b/pkgs/applications/emulators/retroarch/cores.nix
index d67ae6b5318ea..d1cbf12b34d09 100644
--- a/pkgs/applications/emulators/retroarch/cores.nix
+++ b/pkgs/applications/emulators/retroarch/cores.nix
@@ -768,7 +768,7 @@ in
     # causes redefinition of _FORTIFY_SOURCE
     hardeningDisable = [ "fortify3" ];
 
-    postBuild = "cd /build/source/build/pcsx2";
+    postBuild = "cd $NIX_BUILD_TOP/source/build/pcsx2";
     meta = {
       description = "Port of PCSX2 to libretro";
       license = lib.licenses.gpl3Plus;