devshell
devshell copied to clipboard
Tracking windows support
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.
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.
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.