Skip to content
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

Tracking: removal of IFD in modules #392

Open
5 tasks
getchoo opened this issue Nov 30, 2024 · 2 comments
Open
5 tasks

Tracking: removal of IFD in modules #392

getchoo opened this issue Nov 30, 2024 · 2 comments
Labels
help wanted Extra attention is needed tracking Meta-issues tracking multiple issues or progress on long-term solutions

Comments

@getchoo
Copy link
Member

getchoo commented Nov 30, 2024

Import from derivation is a cool and very helpful feature of Nix, but can seriously hurt evaluation performance, and may not be allowed in some cases. We should try to avoid it when possible (in a reasonable way)

Modules that currently require IFD include:

Note

This list will most likely grow after #384, as sources will be downloaded via Nixpkgs fetchers rather than builtin fetchers. See the difference between them here

@getchoo getchoo added help wanted Extra attention is needed tracking Meta-issues tracking multiple issues or progress on long-term solutions labels Nov 30, 2024
This was referenced Nov 30, 2024
@mightyiam
Copy link

Would it still be IFD if sources are flake inputs?

@getchoo
Copy link
Member Author

getchoo commented Nov 30, 2024

No, but for the same reason #377 prevents IFD. Flake inputs use builtin fetchers, which would still block evaluation for every port download

See also #388

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed tracking Meta-issues tracking multiple issues or progress on long-term solutions
Projects
None yet
Development

No branches or pull requests

2 participants