From f43640ecb03e9e008076932a87987cf5c16d8cf9 Mon Sep 17 00:00:00 2001 From: Gabriele Modena Date: Thu, 4 Jan 2024 22:30:50 +0100 Subject: [PATCH] Infinite recursion import (#26) * README: inform of hm import bug. Add a known issues section. Inform of infinite recursion import bug reported in #25. * README: fix wording --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index cdae46b..cfaef97 100644 --- a/README.md +++ b/README.md @@ -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.