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

Evaluating attribute exe on project ./. {...} require more than 4.5 GiB free space #858

Open
TheKK opened this issue May 11, 2021 · 1 comment
Labels
build-performance time and space usage issues during build time enhancement New feature or request Low Severity

Comments

@TheKK
Copy link
Contributor

TheKK commented May 11, 2021

There are some issues relate to this.

First, this make CI difficult to run. Some CI environment, like GitHub action, doesn't allow a single job to use so much space so it would fail unless we have certain cache first. I saw package like newtype-0.2.1.0-js-unknown-ghcjs-doc which might not be needed while evaluating exe.

The second issue is that we need some better way to debug and cache derivations used by IFD (import from derivation). At least I didn't see any documentation talks about these kinds of techniques.

@madeline-os madeline-os added enhancement New feature or request Low Severity labels May 12, 2022
@madeline-os
Copy link
Collaborator

madeline-os commented May 12, 2022

Hi, I apologize for the long delay on responding to this ticket. You are right that the amount of space required to evaluate is unreasonable, and difficult to cache. IFD is tricky to wrangle right now because of a lack of upstream tooling. Some hope on the horizon: NixOS/nix#3494 If improvements to nix like this can be merged, we will be able to address this issue directly.

IFD is a little bit neglected as a feature because of its complexity. Of course, obelisk uses a great deal of IFD. It helps all of us when people voice their concerns with the nix maintainers so that they understand that there is a demand for investment into IFD, so I encourage you to chime in upstream.

@madeline-os madeline-os added the build-performance time and space usage issues during build time label May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-performance time and space usage issues during build time enhancement New feature or request Low Severity
Projects
None yet
Development

No branches or pull requests

2 participants