nixpkgs/doc/stdenv
Valentin Gagarin 370097ce86
remove the misleading warning on using nix-env for split outputs (#255947)
The text was originally added [0] following an apparently incomplete
research on how everything plays together. In fact, Nix propagates
`outputs` to the corresponding nested derivations, and there is some
messy behavior in Nixpkgs that only seems to propagate
`meta.outputsToInstall` in `buildEnv`[1].

This change moves the hints on how to use NixOS specifics to NixOS
module documentation (which is hopefully easier to find through
search.nixos.org), describes the default behavior in Nixpkgs (updating
a the link to the source), and removes the confusing mention of
`nix-env`.

the last of them should not be there to begin with. we don't want
beginners to use `nix-env`, as this is known to run them into trouble
eventually.

[0]: https://github.com/NixOS/nixpkgs/pull/76794
[1]: 1774d07242/pkgs/build-support/buildenv/default.nix (L66)
2023-09-25 16:23:01 +02:00
..
cross-compilation.chapter.md cross-compilation.chapter.md: correct doCheck conditional 2023-01-20 22:17:19 +02:00
meta.chapter.md doc: link, instead of just mentioning, Nix manual (#255126) 2023-09-14 17:09:39 +02:00
multiple-output.chapter.md remove the misleading warning on using nix-env for split outputs (#255947) 2023-09-25 16:23:01 +02:00
platform-notes.chapter.md doc: update Darwin platform doc regarding the 11.0 SDK 2022-07-07 07:52:36 -04:00
stdenv.chapter.md Merge pull request #254967 from nbraud/sha256-to-hash/top-level 2023-09-15 14:36:49 +02:00