1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
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