nixpkgs/doc/builders
Jonas Chevalier 1e910209ae
mkShell: make it buildable (#153194)
When I designed `mkShell`, I didn't have a good idea of what the output
should look like and so decided to make the build fail. In practice,
this causes quite a bit of confusion and complications because now the
shell cannot be part of a normal package set without failing the CI as
well.

This commit changes that build phase to record all the build inputs in a
file. That way it becomes possible to build it, makes sure that all the
build inputs get built as well, and also can be used as a GC root.
(by applying the same trick as #95536).

The documentation has also been improved to better describe what mkShell
does and how to use it.
2022-01-08 01:54:04 +01:00
..
images dockerTools: Keep fakechroot disabled by default 2021-12-04 13:49:10 +00:00
packages doc: minimize mentions of nix-env -i without -A in nixpkgs manual 2021-12-18 12:00:00 +00:00
special mkShell: make it buildable (#153194) 2022-01-08 01:54:04 +01:00
fetchers.chapter.md fetchFromSourcehut: allow recursive fetching 2022-01-03 16:37:16 +07:00
images.xml doc/builders/images/*.xml: Convert to markdown 2021-04-24 09:06:33 +08:00
special.xml invalidateFetcherByDrvHash move docs to manual 2021-09-19 20:27:32 +02:00
trivial-builders.chapter.md writeShellApplication: buildInputs -> runtimeInputs 2021-11-08 09:33:33 -08:00