3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos
Maximilian Bosch 6d19c04416
nixos/manual: improve error message for invalid values in `relatedPackages'
As reported in NixOS discourse[1], tracking down invalid values in
`relatedPackages'[2] (i.e. list-items that don't exist in `pkgs`) is
fairly hard as the message "Invalid package attribute path `foobar'"
is quite unhelpful and the trace doesn't point to the source of the
problem either.

This patch improves the error message by mentioning that the issue is an
invalid `relatedPackages`-declaration in $optionName.

[1] https://discourse.nixos.org/t/invalid-package-attribute-path-nextcloud19/8403/9
[2] https://nixos.org/nixpkgs/manual/#sec-functions-library-options
2020-08-03 16:37:59 +02:00
..
doc Merge pull request #75584 from Infinisil/settings-formats 2020-08-02 16:58:49 +02:00
lib nixos/manual: improve error message for invalid values in `relatedPackages' 2020-08-03 16:37:59 +02:00
maintainers nixos/azure-new: use local nixpkgs 2020-04-27 02:11:10 -07:00
modules Merge pull request #60246 from dfordivam/virtualbox-add-extra-disk 2020-08-02 13:13:52 -04:00
tests nixos/tests: add snapcast 2020-08-02 17:09:57 +02:00
COPYING
default.nix
README treewide: use https for nixos.org and hydra.nixos.org 2020-05-03 22:14:21 -07:00
release-combined.nix nixos/release-combined: add systemd-networkd-ipv6-prefix-delegation test 2020-05-01 17:45:40 +02:00
release-small.nix nixos/release-small: drop latestKernel.login 2020-04-19 22:20:07 +03:00
release.nix nixos/release: add pantheon closure 2020-07-26 15:30:08 -04:00

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.