mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 02:33:15 +00:00
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: fe330c57da
("retroarchFull: fix pcsx2 core installation")
This commit is contained in:
parent
47ab3596a7
commit
05a15bfcfb
@ -760,7 +760,7 @@ in
|
|||||||
# causes redefinition of _FORTIFY_SOURCE
|
# causes redefinition of _FORTIFY_SOURCE
|
||||||
hardeningDisable = [ "fortify3" ];
|
hardeningDisable = [ "fortify3" ];
|
||||||
|
|
||||||
postBuild = "cd $NIX_BUILD_TOP/source/build/pcsx2";
|
postBuild = "cd pcsx2";
|
||||||
meta = {
|
meta = {
|
||||||
description = "Port of PCSX2 to libretro";
|
description = "Port of PCSX2 to libretro";
|
||||||
license = lib.licenses.gpl3Plus;
|
license = lib.licenses.gpl3Plus;
|
||||||
|
Loading…
Reference in New Issue
Block a user