From 66ff807eff936278c6a60ae47aa5258ff9d29dc1 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Wed, 31 Jan 2024 14:01:22 +0100 Subject: [PATCH] better nix install instructions --- BUILDING_FROM_SOURCE.md | 2 +- devtools/README.md | 2 ++ www/README.md | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/BUILDING_FROM_SOURCE.md b/BUILDING_FROM_SOURCE.md index eb5e905811..353006893e 100644 --- a/BUILDING_FROM_SOURCE.md +++ b/BUILDING_FROM_SOURCE.md @@ -10,7 +10,7 @@ On MacOS and Linux, we highly recommend Using [nix](https://nixos.org/download.h ### On Linux x86_64 or MacOS aarch64/arm64/x86_64 -#### Install +#### Installing Nix If you are running ArchLinux or a derivative like Manjaro, you'll need to run `sudo sysctl -w kernel.unprivileged_userns_clone=1` before installing nix. diff --git a/devtools/README.md b/devtools/README.md index 96bcfde988..fee1be5ed0 100755 --- a/devtools/README.md +++ b/devtools/README.md @@ -1,5 +1,7 @@ # devtools +[Install nix](https://github.com/roc-lang/roc/blob/main/BUILDING_FROM_SOURCE.md#installing-nix) if you have not already done so. + To make rust-analyzer and other vscode extensions work well you want them using the same rustc, glibc, zig... as specified in the roc nix flake. The easiest way to do this is to use another flake for all your dev tools that takes the roc flake as an input. diff --git a/www/README.md b/www/README.md index 016e87cb75..1727bc3125 100644 --- a/www/README.md +++ b/www/README.md @@ -4,7 +4,7 @@ - Linux or MacOS operating system, Windows users can use linux through WSL. - Install [git](https://chat.openai.com/share/71fb3ae6-80d7-478c-8a27-a36aaa5ba921) -- Install [nix](https://nixos.org/download.html) +- Install [nix](https://github.com/roc-lang/roc/blob/main/BUILDING_FROM_SOURCE.md#installing-nix) ## Building the website from scratch