diff options
author | Naïm Favier <n@monade.li> | 2022-11-04 17:31:41 +0100 |
---|---|---|
committer | pennae <82953136+pennae@users.noreply.github.com> | 2022-12-08 17:52:52 +0100 |
commit | 0fa7b1b004788881733dc117edd7699f77384166 (patch) | |
tree | 77276bc9fa85ee65e90905d2cc28b5149a035fed /lib/kernel.nix | |
parent | 0ff3b35356b5a57f93b4a7c27ed9ca4c71d388ac (diff) |
lib/generators.toPretty: don't evaluate derivations
With the goal of making `toPretty` suitable for rendering option values, render derivations as `<derivation foo-1.0>` instead of `<derivation /nix/store/…-foo-1.0.drv>`. This is to avoid causing sudden evaluation errors for out-of-tree projects that have options with `default = pkgs.someUnfreePackage;` and no `defaultText`.
Diffstat (limited to 'lib/kernel.nix')
0 files changed, 0 insertions, 0 deletions