nixpkgs/nixos/doc/manual/development
Emmanuel Rosa 4bee34dcc5
doc: clarify building-nixos CD/DVD instructions
This change updates the instructions for building a NixOS ISO so that it's clear how to do it.

Previously, the instructions stated to set NIXOS_CONFIG prior to running `nix-build`, yet the example provided by-passed NIXOS_CONFIG anyway. But the *really* important missing piece is the need for nixos/default.nix. See #21840.

This change removes the NIXOS_CONFIG verbiage, and adds steps to clone nixpkgs and (most importantly) cd'ing into nixpkgs/nixos. That way, the reader may think: *Oh, so I need a default.nix and a configuration.nix. Ahhh, OK.*

I purposely added the redundant default.nix argument.
2017-06-02 21:13:19 -04:00
..
building-nixos.xml doc: clarify building-nixos CD/DVD instructions 2017-06-02 21:13:19 -04:00
building-parts.xml Manual: Explicitly mark commands that require to be run as root (#15589) 2016-06-01 15:23:32 +01:00
development.xml manual: reviewing contributions nixos -> nixpkgs (#20626) 2016-11-22 15:15:02 +01:00
meta-attributes.xml nixos doc: module meta attribute section cleanup 2016-08-29 09:34:24 +00:00
nixos-tests.xml manual: re-add running nixos tests sections 2015-04-21 02:28:59 -04:00
option-declarations.xml Fix typo about options without defaults 2017-05-20 17:05:02 +02:00
option-def.xml Chunk NixOS manual 2014-08-26 19:03:49 +02:00
option-types.xml nixos doc: document coercedTo type 2017-05-24 15:52:26 +03:00
releases.xml Fix xml validation error in NixOS releases documentation 2016-10-07 22:49:05 +02:00
replace-modules.xml modules: add support for module replacement with disabledModules 2017-03-03 13:45:22 +01:00
running-nixos-tests-interactively.xml manual: re-add running nixos tests sections 2015-04-21 02:28:59 -04:00
running-nixos-tests.xml manual: re-add running nixos tests sections 2015-04-21 02:28:59 -04:00
sources.xml doc: improve "getting the sources" chapter 2017-04-01 17:56:29 +02:00
testing-installer.xml Manual: Explicitly mark commands that require to be run as root (#15589) 2016-06-01 15:23:32 +01:00
writing-documentation.xml nixos-manual: Add a chapter about writing documentation 2016-09-11 13:21:09 +01:00
writing-modules.xml modules: add support for module replacement with disabledModules 2017-03-03 13:45:22 +01:00
writing-nixos-tests.xml nixos/test-driver: Make tesseract OCR optional. 2015-05-22 07:21:58 +02:00