From 45e78c6c0b11fed1960fc3df73717bacdc053690 Mon Sep 17 00:00:00 2001 From: Emery Hemingway Date: Sat, 25 Nov 2023 19:19:52 +0200 Subject: [PATCH] toPreserves: fix for null --- nixproc/backends/synit/util.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixproc/backends/synit/util.nix b/nixproc/backends/synit/util.nix index d81c134..6a31e1a 100644 --- a/nixproc/backends/synit/util.nix +++ b/nixproc/backends/synit/util.nix @@ -48,7 +48,7 @@ rec { "<${label.record} ${mapToSeq (lib.lists.init v)}>" else if lib.isBool v then (if v then "#t" else "#f") - else if lib.isNull v then + else if v == null then "" else if lib.isFunction v then toString v # failure