Created
November 13, 2018 16:19
-
-
Save FruitieX/28500ee32e00a5687c7f5031fb5b9922 to your computer and use it in GitHub Desktop.
Install Nix and direnv on WSL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mkdir /etc/nix | |
echo "use-sqlite-wal = false" | sudo tee -a /etc/nix/nix.conf | |
curl https://nixos.org/nix/install | sh | |
source ~/.profile | |
nix-env -iA direnv | |
echo "eval \"\$(direnv hook bash)\"" >> ~/.profile | |
source ~/.profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment