Skip to content

Commit d42bd4e

Browse files
authored
Update README.md - use %localappdata% instead of the cwd (#438)
* Update README.md - use %localappdata% instead of the cwd, remove --version 2 * Update README.md - use %userprofile% instead of %localappdata% * Update install.md with the same change
1 parent e0b9e6c commit d42bd4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Modules for running NixOS on the Windows Subsystem for Linux
1616
2. Import the tarball into WSL:
1717

1818
- ```powershell
19-
wsl --import NixOS .\NixOS\ nixos-wsl.tar.gz --version 2
19+
wsl --import NixOS %userprofile%\NixOS\ nixos-wsl.tar.gz
2020
```
2121

2222
3. You can now run NixOS:

docs/src/install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ First, [download the latest release](https://github.com/nix-community/NixOS-WSL/
1212
Then open up a Terminal, PowerShell or Command Prompt and run:
1313

1414
```powershell
15-
wsl --import NixOS .\NixOS\ nixos-wsl.tar.gz --version 2
15+
wsl --import NixOS %userprofile%\NixOS\ nixos-wsl.tar.gz
1616
```
1717

1818
This sets up a new WSL distribution `NixOS` that is installed under

0 commit comments

Comments
 (0)