diff --git a/pkgs/games/ue4/default.nix b/pkgs/games/ue4/default.nix index 024e43df2e3c7..f361b73a676f7 100644 --- a/pkgs/games/ue4/default.nix +++ b/pkgs/games/ue4/default.nix @@ -91,6 +91,9 @@ stdenv.mkDerivation rec { # Plugins refer to `.so` files in the main executable directory export LD_LIBRARY_PATH="\$sharedir/Engine/Binaries/Linux:\$LD_LIBRARY_PATH" + # Piggyback on the engine user-local directory + export MONO_REGISTRY_PATH="\$HOME/.config/Epic/UnrealEngine/4.26/MonoRegistry" + exec ./UE4Editor "\$@" EOF chmod +x $out/bin/UE4Editor