-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
secrix cannot build together with documentation.nixos.includeAllModules #25
Comments
I assume I have found the reason & a solution for it. Nix failed while evaluating the |
I ran into the issue that my existing system config did not build with the secrix module imported. I could deduce this back to having
documentation.nixos = { enable = true; includeAllModules = true; };
set. I assumeincludeAllModules
is the main problem. With the best of my knowledge, I assume there breaks something while building the documentation of this module.I deduced the bug down to following minimal system config, which reproduces the error (imagine as part of a
flake.nix
with inputsnixpkgs
&secrix
):Then running
nixos-rebuild --flake .#test --show-trace build
returns following trace:Stacktrace of nixos-rebuild
EDIT: For full reproducibility, I quickly added & uploaded test configs to my system configs flake (with an updated lock file). I tested this with nixpkgs on
release-24.05
&unstable
. But you can also run:The text was updated successfully, but these errors were encountered: