Commit 05a15bfc authored by Bjørn Forsman's avatar Bjørn Forsman
Browse files

libretro.pcsx2: avoid $NIX_BUILD_TOP

Using $NIX_BUILD_TOP in a Nix expression break under nix-shell (or when
using nativeBuildInputs = [ keepBuildTree ]), so let's avoid it.

Ref. https://github.com/NixOS/nixpkgs/issues/189691

Fixes: fe330c57 ("retroarchFull: fix pcsx2 core installation")
parent 47ab3596
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -760,7 +760,7 @@ in
    # causes redefinition of _FORTIFY_SOURCE
    hardeningDisable = [ "fortify3" ];

    postBuild = "cd $NIX_BUILD_TOP/source/build/pcsx2";
    postBuild = "cd pcsx2";
    meta = {
      description = "Port of PCSX2 to libretro";
      license = lib.licenses.gpl3Plus;