diff options
author | Jarrod Pas <jarrod@jarrodpas.com> | 2021-02-08 18:37:24 -0600 |
---|---|---|
committer | Jarrod Pas <jarrod@jarrodpas.com> | 2021-02-08 18:37:24 -0600 |
commit | 347c7fb266a0d806babed76d1f9cbfd2375dfd74 (patch) | |
tree | fb2734293a713db92542ac251bb45cbcbf457d11 | |
parent | 21bce9b36bdd62be05107a623eb32fb9b1ca88bd (diff) | |
download | nixlib-347c7fb266a0d806babed76d1f9cbfd2375dfd74.tar nixlib-347c7fb266a0d806babed76d1f9cbfd2375dfd74.tar.gz nixlib-347c7fb266a0d806babed76d1f9cbfd2375dfd74.tar.bz2 nixlib-347c7fb266a0d806babed76d1f9cbfd2375dfd74.tar.lz nixlib-347c7fb266a0d806babed76d1f9cbfd2375dfd74.tar.xz nixlib-347c7fb266a0d806babed76d1f9cbfd2375dfd74.tar.zst nixlib-347c7fb266a0d806babed76d1f9cbfd2375dfd74.zip |
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.
-rw-r--r-- | pkgs/games/factorio/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
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! ''; |