From cbcce89d8c692e4364dfb32e2f3878f2cba38436 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Thu, 18 Dec 2025 11:38:25 +0100 Subject: [PATCH] pkgs/formats: toml format type is not nullable --- pkgs/pkgs-lib/formats.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/pkgs-lib/formats.nix b/pkgs/pkgs-lib/formats.nix index 4a81c1319463..14ca988e9c49 100644 --- a/pkgs/pkgs-lib/formats.nix +++ b/pkgs/pkgs-lib/formats.nix @@ -487,7 +487,10 @@ optionalAttrs allowAliases aliases { }: json { } // { - type = mkStructuredType { typeName = "TOML"; }; + type = mkStructuredType { + typeName = "TOML"; + nullable = false; + }; generate = name: value: