Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DEV_DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Those include, but are not limited to the following: Ubuntu, Fedora, Debian, Arc

#### What about NixOS?

If using NixOS, you need [Docker](https://wiki.nixos.org/wiki/Docker) to be installed and [Flakes](https://wiki.nixos.org/wiki/Flakes) to be enabled.
If using NixOS, you need [Docker](https://wiki.nixos.org/wiki/Docker) to be installed, `services.envfs.enabled = true;` and `programs.nix-ld.enabled = true;` to be set in your config and [Flakes](https://wiki.nixos.org/wiki/Flakes) to be enabled.
If not using `direnv`, you can use `nix develop` or [Nix command](https://wiki.nixos.org/wiki/Nix_command).

### Windows
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Let's start by choosing an officially supported platform:

> [!TIP]
> - On macOS `aarch64` (`arm64`) systems, Rosetta 2 must be installed (install it with `softwareupdate --install-rosetta`)
> - [NixOS](https://nixos.org/) requires [`docker`](https://nixos.wiki/wiki/Docker) to be installed and [Flakes](https://nixos.wiki/wiki/Flakes) to be enabled (see the [development environment section of the dev docs](DEV_DOCS.md) for more information)
> - [NixOS](https://nixos.org/) requires [`docker`](https://nixos.wiki/wiki/Docker) to be installed, [Flakes](https://nixos.wiki/wiki/Flakes) to be enabled and `services.envfs.enabled = true;` and `programs.nix-ld.enabled = true;` to be set in your config (see the [development environment section of the dev docs](DEV_DOCS.md) for more information)
> - Linux with MUSL instead of GNU (e.g. [Alpine Linux](https://www.alpinelinux.org/)) is untested
> - [WSL2](https://learn.microsoft.com/en-us/windows/wsl/) on Windows should work, but you may need to enable `systemd` within your Linux distribution
> - macOS `x86_64` (i.e. `amd64`, "Intel") has historically worked, but is currently untested
Expand Down
4 changes: 2 additions & 2 deletions prelude-si/toolchains/extraction.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def _toolchain_extract_impl(ctx: AnalysisContext) -> list[Provider]:
ctx.actions.write(
extract_script,
[
"#!/bin/bash",
"#!/usr/bin/env bash",
"set -e",
"OUTPUT_DIR=\"$1\"",
"ARCHIVE=\"$2\"",
Expand Down Expand Up @@ -147,4 +147,4 @@ def download_and_extract_toolchain(
os = os,
arch = arch,
visibility = visibility,
)
)