-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
0.159.5: [ERROR] encountered 23 errors resolving licenses, unable to generate output #19971
Comments
Cc @osiewicz who added the dependency back at #19576 Note: the error happens when running https://github.com/zed-industries/zed/blob/main/script/generate-licenses |
The script does pass locally for me as well as on CI, so I'm not sure what's up. |
Nixpkgs uses a newer version of cargo-about (0.6.4) than what's installed by |
None of that is relevant to the issue at hand |
That doesn't seem to be it, running generate-licenses with cargo-about 0.6.4 outside of Nix works fine. Instead, it looks like the problem is cargo-about trying to fetch the LICENSE file directly from the crate's respective git repository, which it cannot do in an isolated (network-less) build environment. I wonder why it attempts to do so at all though, as the license for these crates is already specified in zed-licenses.toml. Upstream issue: EmbarkStudios/cargo-about#246 |
Check for existing issues
Describe the bug / provide steps to reproduce it
While trying to build 0.159.5 on nixos, I get:
Environment
Zed: v0.158.2 (Zed)
OS: Linux Wayland nixos 24.11
Memory: 31.1 GiB
Architecture: x86_64
GPU: AMD Radeon RX 6700 XT (RADV NAVI22) || radv || Mesa 24.2.4
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: