devshell icon indicating copy to clipboard operation
devshell copied to clipboard

Tracking windows support

Open blaggacao opened this issue 4 years ago • 2 comments

I hope devshell will grow into an universal tool, if wsl2 is properly supported for nix.

It would be interesting to hear, if somebody has already experience to share, so that I can provide instructions to windows users for a repository I maintain.

blaggacao avatar Nov 02 '20 04:11 blaggacao

Nix works fine in WSL and WSL2 as far as I know. The only issue is that it doesn't start services so it must be a single-user install.

zimbatm avatar Feb 05 '21 10:02 zimbatm

The below works to install nix on WSL 1:

# Work around incorrect file locking https://github.com/Microsoft/WSL/issues/2395
use-sqlite-wal = false' | sudo tee /etc/nix/nix.conf

bash <(curl -L https://nixos.org/nix/install) --no-daemon --no-modify-profile

systemd only works in WSL 2 AFAIK.

SuperSandro2000 avatar Feb 05 '21 11:02 SuperSandro2000