-
Notifications
You must be signed in to change notification settings - Fork 20
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
Export packages of a project with their NixOS modules #297
Comments
This is done intentionally. Do you have a proposal in mind? I would like to avoid pulling in all packages from NGIpkgs implicitly. Maybe we can synthesize one overlay per Project and pull that instead? Do you have any proposals? |
Yes, so |
Given the current structure of the repo, from a user's perspective I don't see there being much substantial difference between
I'm working on understanding how the repo works, and given my level of familiarity with nixlang there are still many details of what is in the flake.nix that I don't follow very well. That said, I have the general impression that including the currently existing overlay of all ngi packages with each module would be a much simpler modification than synthesizing a new unique overlay for each project. Per-project overlays would require manually creating (or maybe generating) a list of the ngi package dependencies for each project, which as far as I know doesn't exist yet though maybe I'm just missing it. For example, if I understand correctly, the simpler option of including all the packages in order to make project modules usable is effectively already what is being done to make the I agree that further work could also happen to generate per-project overlays, but that seems like a substantially more involved task, though please do let me know if I am misevaluating the difference in complexity between the two potential solutions. |
Currently, the packages associated with a project are not included with the nixosModule for that project. The project services will fail with "package is missing" errors if
ngipkgs.nixosModules.default
(containing all packages) is not also included separately.The text was updated successfully, but these errors were encountered: