3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/lib/make-options-doc
Dima 3c15d578d4 make-options-doc: fix string context issues
When using `documentation.nixos.includeAllModules = true;` with external
modules, the string context might contain dependencies to derivations
and so `toFile` refuses to evaluate;

```
error: in 'toFile': the file 'options.xml' cannot refer to derivation outputs, at
[...]/nixpkgs/nixos/lib/make-options-doc/default.nix:89:16
```

This is not an issue when using `writeText` (instead of manually
stripping the context).
2019-11-23 15:40:45 +01:00
..
default.nix make-options-doc: fix string context issues 2019-11-23 15:40:45 +01:00
options-to-docbook.xsl Extract NixOS options documentation generation to a function 2019-08-08 16:18:09 +02:00
postprocess-option-descriptions.xsl Extract NixOS options documentation generation to a function 2019-08-08 16:18:09 +02:00