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.
This commit is contained in:
Jarrod Pas 2021-02-08 18:37:24 -06:00
parent 21bce9b36b
commit 347c7fb266

View file

@ -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!
'';