nix-community / dconf2nix

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

Parse error on colon in top-level #4

Closed 414owen closed 4 years ago

414owen commented 4 years ago

:wave: When parsing a straight dump, I get:

dconf2nix: "dconf.settings" (line 169, column 36):
unexpected ":"
expecting letter or digit, " ]", "]", "/" or "-"
CallStack (from HasCallStack):
  error, called at src/DConf2Nix.hs:14:18 in dconf2nix-0.0.2-HyzAD6ImgAPIFbugMY0Kb7:DConf2Nix

Which corresponds to the first ':' in this line:

[org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9]
bbigras commented 4 years ago

I have the same exact problem.

gvolpe commented 4 years ago

Thanks for reporting, I'll have a look :+1:

gvolpe commented 4 years ago

https://github.com/gvolpe/dconf2nix/releases/tag/v0.0.3

bbigras commented 4 years ago

I just tried and I got: https://github.com/gvolpe/dconf2nix/issues/10