Vladimír Čunát b9f6dfe8c5 nixos manuals: allow displaying package references
The manuals are now evaluated with each derivation in `pkgs` (recursively)
replaced by a fake with path "\${pkgs.path.to.the.attribute}".
It isn't perfect, but it seems to cover a vast majority of use cases.
Caveat: even if the package is reached by a different means,
the path above will be shown and not e.g. `${config.services.foo.package}`.

As before, defaults created by `mkDefault` aren't displayed,
but documentation shouldn't (mostly) be a reason to use that anymore.

Note: t wouldn't be enough to just use `lib.mapAttrsRecursive`,
because derivations are also (special) attribute sets.
2016-01-13 12:03:18 +01:00
..
2015-09-27 09:45:23 -05:00
2015-11-15 03:41:39 +08:00
2015-07-28 18:42:22 +02:00
2016-01-03 17:51:34 -05:00
2014-03-10 15:01:56 +01:00
2015-10-14 18:18:47 +02:00
2015-07-30 13:44:50 +02:00
2015-11-16 17:20:11 +01:00
2015-11-25 11:30:43 +01:00