When setting any filetype suboption to null (or anything else guarded by
mkIf) it's value becomes:
{ extension = null; filename = null; pattern = null; }
Account for that case in mkIf condition so that the option would not
produce empty filetype definition.
|
||
|---|---|---|
| .. | ||
| modules | ||
| test-sources | ||
| default.nix | ||
| enable-except-in-tests.nix | ||
| extend.nix | ||
| extra-args.nix | ||
| extra-files.nix | ||
| fetch-tests.nix | ||
| lib-tests.nix | ||
| maintainers.nix | ||
| no-flake.nix | ||
| test-derivation.nix | ||