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

download errors/issues #86

Open
stereomato opened this issue Nov 30, 2024 · 3 comments
Open

download errors/issues #86

stereomato opened this issue Nov 30, 2024 · 3 comments

Comments

@stereomato
Copy link

Essentially every time I update and there's a lot of things to download, I get errors like this:

error: builder for '/nix/store/jvhbff669x4l96446cvvgjmg54zk40df-dart-code-3.101.20241127.zip.drv' failed with exit code 1;
       last 7 log lines:
       >
       > trying https://Dart-Code.gallery.vsassets.io/_apis/public/gallery/publisher/Dart-Code/extension/dart-code/3.101.20241127/assetbyname/Microsoft.VisualStudio.Services.VSIXPackage?
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >  14 15.8M   14 2328k    0     0  46096      0  0:06:00  0:00:51  0:05:09 47862
       > curl: (92) HTTP/2 stream 1 was not closed cleanly: PROTOCOL_ERROR (err 1)
       > error: cannot download dart-code-3.101.20241127.zip from any mirror
       For full logs, run 'nix log /nix/store/jvhbff669x4l96446cvvgjmg54zk40df-dart-code-3.101.20241127.zip.drv'.
error: 1 dependencies of derivation '/nix/store/8biqglbih3bnckqjy0hpks9qz2prbp6q-vscode-extension-dart-code-dart-code-3.101.20241127.drv' failed to build
error: 1 dependencies of derivation '/nix/store/x62nj8n8r34yjadslq9431qn37jq33p8-hm_.vscodeextensions.extensionsimmutable.json.drv' failed to build
error: 1 dependencies of derivation '/nix/store/cjn2r0jcx8i59xwdbh3jpnhpk61zm1ip-home-manager-files.drv' failed to build

Is there a way to fix or workaround this?

@deemp
Copy link
Collaborator

deemp commented Dec 9, 2024

@stereomato, which platform do you use?

nix repl
nix-repl> builtins.currentSystem

@stereomato
Copy link
Author

"x86_64-linux"

I've switched from using home-manager as a module to it being standalone and coincidentally this seems to be fixed. I'm confused honestly

@stereomato
Copy link
Author

I was mistaken! And no, #87 does nothing. This issue seems to be triggered if a beeg download is also happening alongside the extension downloading. Like, I just reinstalled NixOS, and when installing my home-manager profile, I had constant vscode extension download issues, so I disabled that and, and saw that davinci resolve was being downloaded. Once h-m finished installing, I reenabled vscode + extensions and voila, the next generation went smoothly.

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