From 81b27ca804cfdd7951df8d646b2afc20522e2372 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Tue, 11 Jun 2024 16:44:20 +0100 Subject: [PATCH] fix #1265: disallow null for copyToRoot --- src/modules/containers.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/containers.nix b/src/modules/containers.nix index c39214c5d..7ad91e027 100644 --- a/src/modules/containers.nix +++ b/src/modules/containers.nix @@ -192,7 +192,7 @@ let }; copyToRoot = lib.mkOption { - type = types.nullOr (types.either types.path (types.listOf types.path)); + type = types.either types.path (types.listOf types.path); description = "Add a path to the container. Defaults to the whole git repo."; default = self; defaultText = "self";