diff --git a/modules/plock/implementation.nix b/modules/plock/implementation.nix index dd0ef02..c46d1a4 100644 --- a/modules/plock/implementation.nix +++ b/modules/plock/implementation.nix @@ -146,7 +146,7 @@ in { "null" "bool" "list" ]; if b == null then {} else - if builtins.isList then { bundledDependencies = b; } else + if builtins.isList b then { bundledDependencies = b; } else if ! b then {} else { bundledDependencies = builtins.attrNames ( ( values.dependencies or {} ) // ( values.requires or {} )