docs: document local Nix setup with the OpenShell binary cache
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 asansible-galaxy(see #4930). - Explain that
flake.nix'snixConfigsubstituter is ignored for non-trusted users, and how to addhttps://openshell.cachix.organd its key to the system Nix config and restart the daemon, without adding the user totrusted-users. - Note that the "ignoring untrusted flake configuration setting" warnings are harmless, and that
nix config show substitutersis 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.mdlink to it. -
mise run markdown:lintpasses.
- Lingua principale
- Rust
- Stelle
- 17.1k
- Fork
- 1.8k
- Merge medio
- 2g 15h
- PR unite (30g)
- 314
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NVIDIA/OpenShell
-
bug(python): OIDC refresh drops the gateway's oidc_scopesForse già presa @jyotir07 l’ha presa 1 giorno fa. Apertastate:triage-needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
NVIDIA/OpenShell#4919 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
bug: workspace access hint suggests a --subject command that fails for hyphen-leading OIDC subjectsForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
state:triage-needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
bug(install): install.sh prints gawk "escape sequence \. treated as plain ." warnings on RPM hostsForse già presa @ericcurtin l’ha presa 5 giorni fa. Apertastate:triage-needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di NVIDIA/OpenShell
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
status:untriaged
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
midnightntwrk/midnight-zk#592 ·
I maintainer di solito rispondono entro 3 giorni
-
QuartoHub: have the Document name before the filename in the browser tabForse già presa @cscheid l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
quarto-dev/q2#930 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
muse P3
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
HerringtonDarkholme/hd-lang#923 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno