1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00
nixpkgs/nixos/lib
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
..
make-options-doc nixos/manual: improve error message for invalid values in `relatedPackages' 2020-08-03 16:37:59 +02:00
test-driver nixos/test-driver: print a traceback when testScript fails (#92369) 2020-07-06 23:29:40 +02:00
build-vms.nix Merge branch 'master' into flip-map-foreach 2019-08-18 18:00:25 +03:00
eval-config.nix nixos: Fix pkgs exporting 2020-03-19 21:19:25 +01:00
from-env.nix
make-channel.nix Remove incorrect sentence from make-channel comment 2018-11-04 20:45:49 +01:00
make-disk-image.nix nixos/lib/make-disk-image.nix: abritary format input 2020-07-31 15:33:08 +02:00
make-ext4-fs.nix nixos/lib/make-ext4-fs: use mkfs.ext4 instead of cptofs 2020-07-01 11:32:28 +03:00
make-iso9660-image.nix make-iso9660-image: produce stable GPT disk GUID 2020-07-20 11:16:59 +02:00
make-iso9660-image.sh make-iso9660-image: produce stable GPT disk GUID 2020-07-20 11:16:59 +02:00
make-squashfs.nix kernel config: add support for CONFIG_SQUASHFS_ZSTD (#52967) 2019-01-17 15:24:44 +02:00
make-system-tarball.nix use closure-info for building system tarball 2018-11-07 12:52:53 +08:00
make-system-tarball.sh use closure-info for building system tarball 2018-11-07 12:52:53 +08:00
qemu-flags.nix lib: toHex -> toHexString & toBase -> toBaseDigits 2020-07-20 13:14:19 +02:00
testing-python.nix testing-python: fix typo 2020-06-30 22:31:32 -05:00
testing.nix Remove unused files 2020-05-14 14:34:50 +02:00
utils.nix nixos/boot: some documentation improvements 2020-07-29 14:39:21 -07:00