Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

docs: document local Nix setup with the OpenShell binary cache

Aperta Adatta ai principianti
#4,935 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
84/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
markdown
Ambito
documentation

Direzione di ricerca

Inizia da CONTRIBUTING.md e controlla la sezione esistente sui prerequisiti per inserire le indicazioni sulla configurazione di Nix. Spiega l’installer consigliato, la configurazione della cache binaria e il comando di verifica indicati nell’issue, poi aggiungi un link a quella sezione da TESTING.md e nix/test-guest/README.md. Esegui mise run markdown:lint; il lavoro è completato quando la sezione e entrambi i link sono presenti e il comando di lint termina correttamente.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

User Story

I develop OpenShell on macOS (Apple Silicon) and use nix develop and nix run .#tmachine / .#build-artifacts-* to run tmachine environments locally. On a fresh Nix install the first build took over an hour, and an earlier non-standard Nix install broke TLS for host-side tools, so I need the contributor docs to say how to set Nix up the way CI does.

Description

Add a short Nix setup section to the contributor prerequisites:

  • Recommend Determinate Nix, which CI uses. Some other installers leave Nix's OpenSSL without a CA bundle on macOS (no default profile, no NIX_SSL_CERT_FILE), which breaks HTTPS from Nix-provided tools such as ansible-galaxy (see #4930).
  • Explain that flake.nix's nixConfig substituter is ignored for non-trusted users, and how to add https://openshell.cachix.org and its key to the system Nix config and restart the daemon, without adding the user to trusted-users.
  • Note that the "ignoring untrusted flake configuration setting" warnings are harmless, and that nix config show substituters is the check.
  • Link to it from TESTING.md and the test-guest README instead of repeating it.

Context

Found while running #4773's tmachine runner locally. Without the cache, nix build --dry-run .#devShells.aarch64-darwin.default has 88 derivations to build (including cross GCC); with it, 1.

Definition of Done

  • CONTRIBUTING.md has a Nix setup section covering the installer, the binary cache and how to verify it.
  • TESTING.md and nix/test-guest/README.md link to it.
  • mise run markdown:lint passes.
Lingua principale
Rust
Stelle
17.1k
Fork
1.8k
Merge medio
2g 15h
PR unite (30g)
314

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NVIDIA/OpenShell

Tutte le issue di NVIDIA/OpenShell

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.