Skip to content

Commit

Permalink
Infinite recursion import (#26)
Browse files Browse the repository at this point in the history
* README: inform of hm import bug.

Add a known issues section.
Inform of infinite recursion import bug
reported in #25.

* README: fix wording
  • Loading branch information
gmodena authored Jan 4, 2024
1 parent 4f39230 commit f43640e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,16 @@ YMMV.

If you need generational builds, [declarative-flatpak](https://github.com/GermanBread/declarative-flatpak)
might be a better fit.

# Known issues

A couple of things to be aware of when working with `nix-flatpak`.

## Infinte recusion in home-manager imports

Users have reported an infinite recursion stacktrace when importing an home-manager module outside of where home-manager
itself was imported.

To work around this issue, you should avoid nesting home-manager modules. This means that when you are structuring your configuration, make sure that you do not have home-manager modules imported within each other in a way that could lead to circular imports.

You can follow the discussions and updates on issue [#25](https://github.com/gmodena/nix-flatpak/issues/25) to stay informed about any resolutions or workarounds.

0 comments on commit f43640e

Please sign in to comment.