Skip to content

Commit

Permalink
fix #1265: disallow null for copyToRoot
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Jun 11, 2024
1 parent ed7dca7 commit 81b27ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/containers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit 81b27ca

Please sign in to comment.