From 347c7fb266a0d806babed76d1f9cbfd2375dfd74 Mon Sep 17 00:00:00 2001 From: Jarrod Pas Date: Mon, 8 Feb 2021 18:37:24 -0600 Subject: [PATCH] factorio: change help message to output "$HOME" Since $HOME was not escaped the user was shown a path inside /homeless-shelter which could be confusing for inexperienced users. --- pkgs/games/factorio/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/games/factorio/default.nix b/pkgs/games/factorio/default.nix index 9db8a95746d4..356cedd3507e 100644 --- a/pkgs/games/factorio/default.nix +++ b/pkgs/games/factorio/default.nix @@ -42,7 +42,7 @@ let releaseType=alpha version=0.17.74 - nix-prefetch-url file://$HOME/Downloads/factorio_\''${releaseType}_x64_\''${version}.tar.xz --name factorio_\''${releaseType}_x64-\''${version}.tar.xz + nix-prefetch-url file://\''$HOME/Downloads/factorio_\''${releaseType}_x64_\''${version}.tar.xz --name factorio_\''${releaseType}_x64-\''${version}.tar.xz Note the ultimate "_" is replaced with "-" in the --name arg! '';