# Move component bound guides from `nix.dev` to `nixpkgs/doc/`
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- documentation
Direzione di ricerca
Inizia con la pull request #1246 collegata di nix.dev e con i file sorgente elencati sotto recipes/, tutorials/, guides/, reference/ e concepts/. Confronta ogni argomento con il percorso corrispondente in nixpkgs/doc/ e determina quindi quali contenuti debbano essere spostati, uniti o ritirati. Il lavoro è completato quando le decisioni sulla migrazione sono state applicate senza duplicare contenuti già presenti nel manuale nixpkgs.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
See https://github.com/NixOS/nix.dev/pull/1246
Component bound guides should live with their implementation
Reminder:
- NixOS manual (
nixpkgs/nixos/doc/manual/) = documentation for the NixOS Linux distribution. - nixpkgs manual (
nixpkgs/doc/) = documentation for the package collection, module system, build helpers, and tooling.
This migration targets the nixpkgs manual.
For NixOS migration a seperate tracking issue will be created:
Move to nixpkgs
recipes/sharing-dependencies.md
Describes how to set up development environments.
Rationale: Uses inputsFrom, mkShellNoCC, mkShell. The canonical pattern for dev shells alongside package builds. Usage instructions in nixpkgs got changed recently to use packages instead of buildInputs
recipes/dependency-management.md
Describes how to set up general projects and how to pin nixpkgs itself.
Rationale: npins for pinning nixpkgs revisions.
Nixpkgs should describe how to use it.
recipes/python-environment.md
merge into nixpkgs/doc/languages-frameworks/python.section.md
That section already exists and is quite lengthy with dupliction between this guide and the nixpkgs manual.
Rationale: Already exists as a section. This guide demonstrates python.withPackages from nixpkgs. Ecosystem-specific but nixpkgs-authored content. Gets out of sync if python.withPackages changes. Maintainers are not aware this pattern is encouraged here.
Retire from nix.dev:
recipes/direnv.md, fold into sharing-dependencies.md
Rationale: Third-party tool guide. "with direnv" pattern is a tiny oneline-add to the dev-shell guide.
Content that already exists in nixpkgs manual
These topics are already covered by the nixpkgs manual. The nix.dev version is either redundant or a guide wrapper around manual content.
| nix.dev file | nixpkgs manual file | Notes |
|---|---|---|
tutorials/cross-compilation.md |
stdenv/cross-compilation.chapter.md |
nixpkgs cross-comp chapter explicitly says "For a hands-on tutorial, see the cross-compilation guide on nix.dev" |
tutorials/packaging-existing-software.md |
stdenv/stdenv.chapter.md |
Same concepts: mkDerivation, phases, pname/version, fetchzip, fetchFromGitHub. nixpkgs is a reference, nix.dev is learn-by-doing, but content substantially overlaps |
tutorials/module-system/index.md |
module-system/module-system.chapter.md |
nixpkgs module-system chapter explicitly links to nix.dev as its introduction |
tutorials/module-system/deep-dive.md |
module-system/module-system.chapter.md |
Same relationship |
tutorials/module-system/a-basic-module/index.md |
module-system/module-system.chapter.md |
Same relationship |
Partial overlap
These touch nixpkgs topics but the manual doesn't contain an equivalent guided walkthrough. The nix.dev content adds value that the manual doesn't currently provide.
| nix.dev file | nixpkgs manual file | Gap |
|---|---|---|
tutorials/callpackage.md |
using/overlays.chapter.md, stdenv/stdenv.chapter.md |
callPackage referenced throughout, no standalone tutorial |
tutorials/working-with-local-files.md |
lib functions reference |
lib.fileset in function library, no guided walkthrough |
tutorials/first-steps/towards-reproducibility-pinning-nixpkgs.md |
using/configuration.chapter.md |
Pinning mentioned but no guide |
tutorials/first-steps/declarative-shell.md |
build-helpers/special/mkshell.section.md |
mkShellNoCC documented, not taught as a tutorial |
tutorials/first-steps/ad-hoc-shell-environments.md |
build-helpers/dev-shell-tools.chapter.md |
nix-shell -p referenced, no guide |
guides/recipes/sharing-dependencies.md |
build-helpers/special/mkshell.section.md |
mkShell documented, inputsFrom pattern not |
guides/recipes/dependency-management.md |
using/configuration.chapter.md |
npins not covered in nixpkgs doc |
guides/recipes/python-environment.md |
languages-frameworks/python.section.md |
Python section exists, no guide |
reference/pinning-nixpkgs.md |
using/configuration.chapter.md |
Related to config chapter, pinning approaches overlap |
concepts/flakes.md |
build-helpers/fetchers.chapter.md |
Flakes referenced throughout nixpkgs doc |
- Lingua principale
- Nix
- Stelle
- 4k
- Fork
- 343
- Merge medio
- 1g 12h
- PR unite (30g)
- 14
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun 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 NixOS/nix.dev
-
site
Difficoltà 1/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
NixOS/nix.dev#1224 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
Add a small llms.txt index for official documentationForse già presa @timfewi l’ha presa oggi. Apertasite
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
I maintainer di solito rispondono entro 1 giorno
-
FAQ (idea draft)Apertasite
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di NixOS/nix.dev
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
obsidianmd/obsidian-help#1169 ·
I maintainer di solito rispondono entro 2 giorni
-
[docs] RELEASE.md: wrong branch name, no check that the prepare PR merged with the right subject, manual publish stepForse già presa @albertteoh l’ha presa oggi. Apertadocumentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
jaegertracing/jaeger-ui#4739 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
Document and enforce pull request review guidelinesForse già presa @dashorst l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100