From 24f2e0161d6824e641cdbbd454456a9709e28e67 Mon Sep 17 00:00:00 2001 From: Svein Ove Aas Date: Sat, 1 Oct 2016 18:53:18 +0100 Subject: factorio: Don't set argv[0] This is needed to let its auto-restart function work, e.g. when changing the mod setup. --- pkgs/games/factorio/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/games/factorio') diff --git a/pkgs/games/factorio/default.nix b/pkgs/games/factorio/default.nix index b7a25a29c1c..fe01667f531 100644 --- a/pkgs/games/factorio/default.nix +++ b/pkgs/games/factorio/default.nix @@ -114,6 +114,7 @@ let wrapProgram $out/bin/factorio \ --prefix LD_LIBRARY_PATH : /run/opengl-driver/lib:$libPath \ --run "$out/share/factorio/update-config.sh" \ + --argv0 "" \ --add-flags "-c \$HOME/.factorio/config.cfg ${optionalString (mods != []) "--mod-directory=${modDir}"}" # TODO Currently, every time a mod is changed/added/removed using the -- cgit 1.4.1