system.forbiddenDependenciesRegexes
POSIX Extended Regular Expressions that match store paths that
should not appear in the system closure, with the exception of system.extraDependencies, which is not checked.
- Type
list of string- Default
[ ]- Example
[ "-dev$" ]- Declared
- <nixpkgs/nixos/modules/system/activation/top-level.nix>