mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 20:00:10 +00:00
nixos-option: show option value more conservatively (#567000)
This commit is contained in:
@@ -125,7 +125,7 @@ let
|
||||
in
|
||||
lib.concatStringsSep "\n\n" (
|
||||
lib.concatLists [
|
||||
(entry true "Value" (toPretty value))
|
||||
(entry true "Value" (safeToPretty value))
|
||||
(entry (option ? default) "Default" (toPretty option.default))
|
||||
(entry (option ? type) "Type" (option.type.description))
|
||||
(entry (option ? description) "Description" (lib.removeSuffix "\n" option.description))
|
||||
|
||||
Reference in New Issue
Block a user