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

importPath ".." causing excessive build times #52

Open
lionello opened this issue Dec 16, 2021 · 2 comments
Open

importPath ".." causing excessive build times #52

lionello opened this issue Dec 16, 2021 · 2 comments

Comments

@lionello
Copy link

lionello commented Dec 16, 2021

ae/dub.sdl

Line 13 in 3a2ec94

importPaths ".."

This causes issues when building an application that depends on ae from Nix: the ae library will have been added to the Nix store (/nix/store/…) but because of the importPath "..", dub will iterate all files and folders in the Nix store. This is often 20GiB worth of packages, and doesn't complete (I aborted after 5 minutes.)

Also see lionello/dub2nix#8 (comment) for more context.

@CyberShadow
Copy link
Owner

Yes, this is due to a problem in the Dub package manager. See commit 363227f for details. It also describes this exact problem and a workaround.

@CyberShadow
Copy link
Owner

Discussion on a fix in Dub: dlang/dub#2637

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants