system.forbiddenDependenciesRegexes

NixOS option

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 in: nixos/modules/system/activation/top-level.nixView source on NixOS/nixpkgs →