Skip to content

Commit

Permalink
lib.systems.inspect: handle string to prevent failure with CuboCore.c…
Browse files Browse the repository at this point in the history
…orepdf
  • Loading branch information
RossComputerGuy committed Nov 21, 2024
1 parent 1f501cc commit b5d529d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/systems/inspect.nix
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ rec {
map (attr2:
recursiveUpdateUntil
(path: subattr1: subattr2:
if (builtins.intersectAttrs subattr1 subattr2) == {} || subattr1 == subattr2
if (builtins.isString subattr2) then true
else if (builtins.intersectAttrs subattr1 subattr2) == {} || subattr1 == subattr2
then true
else throw ''
pattern conflict at path ${toString path}:
Expand Down

0 comments on commit b5d529d

Please sign in to comment.