nix-community / dconf2nix

:feet: Convert dconf files (e.g. GNOME Shell) to Nix, as expected by Home Manager [maintainer=@jtojnar]
Apache License 2.0
218 stars 6 forks source link

'|' character can cause timeout #67

Closed NULLx76 closed 1 year ago

NULLx76 commented 1 year ago

Type of bug

Timeout

Version

0.0.11

Did you test against master?

Error message (if not timeout)

[nix-shell:~/src/infrastructure/nixos/hosts/thalassa/null]$ dconf2nix -i b.settings -o out.nix
dconf2nix: 💥 The process timed out.

  💡 You can try increasing the timeout using --timeout.

  ⛔ If the issue persists, run it again using --verbose and report the issue on Github, indicating dconf2nix's version. Sorry 😞.

CallStack (from HasCallStack):
  error, called at app/Main.hs:30:14 in main:Main

DConf input

[foo]
bar=['|']

Additional context

If I let it run long enough it just OOMs.

This is the original non-minimized snippet that caused the error:

[es/atareao/wireguard-indicator]
darktheme=false
nmcli=true
services=['service1|wg-quick@wg0.service', 'service2|wg-quick@wg1.service']
sudo=false