nixpkgs/nixos/doc/manual/development
Robert Hensing 5f197bf5d0 nixos/eval-config: Deprecate NIXOS_EXTRA_MODULE_PATH
This gets rid of a potentially confusing behavior that doesn't need to
be in NixOS, and nobody ever bothered to add a test for it.
Let's keep things simple!
The suggested snippet is better than this feature ever was, and will be
in the user's face, where it belongs, kindly.

Tested with

    nix-instantiate nixos/lib/eval-config.nix --arg modules '[{fileSystems."/".device="x";boot.loader.grub.enable=false;}]' -A config.system.build.toplevel
    NIXOS_EXTRA_MODULE_PATH=$HOME/whatever.nix nix-instantiate nixos/lib/eval-config.nix --arg modules '[{fileSystems."/".device="x";boot.loader.grub.enable=false;}]' -A config.system.build.toplevel
2024-10-18 17:04:35 +02:00
..
activation-script.section.md treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
assertions.section.md treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
bootspec.chapter.md nixos/activation/bootspec: fix style 2024-06-05 11:14:36 +08:00
building-parts.chapter.md
developing-the-test-driver.chapter.md
development.md
etc-overlay.section.md treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
freeform-modules.section.md
importing-modules.section.md nixos/eval-config: Deprecate NIXOS_EXTRA_MODULE_PATH 2024-10-18 17:04:35 +02:00
linking-nixos-tests-to-packages.section.md
meta-attributes.section.md nixos/eval-config: Deprecate NIXOS_EXTRA_MODULE_PATH 2024-10-18 17:04:35 +02:00
nixos-tests.chapter.md
non-switchable-systems.section.md treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
option-declarations.section.md nixos/doc: fix a typo in option-declarations.section.md (#304733) 2024-05-18 13:06:50 +08:00
option-def.section.md treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
option-types.section.md Merge pull request #284551 from hercules-ci/types-attrTag 2024-04-09 20:48:44 +02:00
replace-modules.section.md Remove top level with lib; in docs (#293829) 2024-03-06 22:35:43 +01:00
running-nixos-tests-interactively.section.md doc: removes extra backtick 2024-06-07 15:21:57 -03:00
running-nixos-tests.section.md nixos/doc/running-nixos-tests: Describe system requirements 2024-03-05 20:51:10 +01:00
settings-options.section.md nixos/doc: move implementation notes for formats.libconfig to docs 2024-06-16 20:58:50 +02:00
sources.chapter.md
testing-installer.chapter.md treewide: use pkgs.nixos-enter instead of config.system.build.nixos-enter 2024-09-21 16:13:36 +03:00
unit-handling.section.md treewide: fix doc typos 2024-07-26 00:55:13 +02:00
what-happens-during-a-system-switch.chapter.md
writing-documentation.chapter.md
writing-modules.chapter.md treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00
writing-nixos-tests.section.md treewide: Fix all Nix ASTs in all markdown files 2024-03-28 09:28:12 +01:00