-
Notifications
You must be signed in to change notification settings - Fork 339
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
Devenv slows down with big code repositories #257
Comments
|
Seems like introduced by custom nix domenkozar/nix@bf9922e |
We need this to be able to support .devenv.flake.nix, probably a better way is to just to add it to the output. |
We could also generate a generic flake.nix and commit that? 🤔 |
@shyim do you have a workaround for this or does it need to be fixed soon? |
I am thinking about adding a hybrid solution. |
Flakes verbatim copy the whole repo into the /nix/store so that's also slower in general :) |
okay then I don't have a solution 😂 |
But your |
I'll look into this tomorrow |
I know what to fix there, needs a few hours of work. Making it high priority :) |
Eelco and others are working on getting rid of this constraint: NixOS/nix#6530 |
devenv already includes this PR, but it's still slow (not minutes as it was before, but now in seconds). |
Oh cool ! Do you think it will get merged upstream anytime soon ? |
I hope it will be merged soon, it has been working more or less fine :) |
I believe this is fixed in #745, could you give it a try and report back? |
I can't test it at Home, somehow the python cannot be built on my machine. It just hangs forever configure. I will try it at work tomorrow, maybe that helps. |
Having the full log would be helpful and what OS exactly it hangs on. |
I believe this is fixed in 1.0.1, can somebody confirm? |
for me it takes like 25seconds to |
Using 1.0.1? How can I reproduce this? |
yup
|
Is there something nice to debug what is slow at Maybe an idea to have an |
This has been fixed in 1.3! More work will follow as part of #1548 |
Describe the bug
When you have a big project and maybe some cache like 10 GB it gets really slowed down by git commands. Maybe that command can be ignored?
The text was updated successfully, but these errors were encountered: