-
-
Notifications
You must be signed in to change notification settings - Fork 14.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
zerotierone fails to build #192056
Comments
I can reproduce this on the latest nixpkgs commit with a ~ > NIXPKGS_ALLOW_UNFREE=1 nix build --impure -L "github:nixos/nixpkgs?rev=24f881299bf9e0eb74591f82a44629ca1eab471f#zerotierone.cargoDeps"
zerotierone> unpacking sources
zerotierone> unpacking source archive /nix/store/0ibhg7flgb8z669r4xan84flsvsiziq1-source/zeroidc
zerotierone> source root is zeroidc
zerotierone> patching sources
zerotierone> configuring
zerotierone> no configure script, doing nothing
zerotierone> building
zerotierone> Updating git repository `https://github.com/glimberg/rust-jwt`
zerotierone> error: failed to sync
zerotierone> Caused by:
zerotierone> failed to load pkg lockfile
zerotierone> Caused by:
zerotierone> no matching package named `base64` found
zerotierone> location searched: registry `crates-io`
zerotierone> required by package `zeroidc v0.1.0 (/build/zeroidc)`
error: builder for '/nix/store/b5rmj2570i8f3qax0arx7b7k88h57vrc-zerotierone-1.10.1-vendor.tar.gz.drv' failed with exit code 101;
last 10 log lines:
> Updating git repository `https://github.com/glimberg/rust-jwt`
> error: failed to sync
>
> Caused by:
> failed to load pkg lockfile
>
> Caused by:
> no matching package named `base64` found
> location searched: registry `crates-io`
> required by package `zeroidc v0.1.0 (/build/zeroidc)`
For full logs, run 'nix log /nix/store/b5rmj2570i8f3qax0arx7b7k88h57vrc-zerotierone-1.10.1-vendor.tar.gz.drv'. |
The checksum of {
services.zerotierone = {
enable = true;
package = with pkgs; zerotierone.overrideAttrs (old: {
cargoDeps = rustPlatform.importCargoLock {
lockFile = fetchurl {
url = "https://raw.githubusercontent.com/zerotier/ZeroTierOne/${old.version}/zeroidc/Cargo.lock";
sha256 = "sha256-pn7t7udZ8A72WC9svaIrmqXMBiU2meFIXv/GRDPYloc=";
};
outputHashes = {
"jwt-0.16.0" = "sha256-P5aJnNlcLe9sBtXZzfqHdRvxNfm6DPBcfcKOVeLZxcM=";
};
};
});
};
} |
blocking rebuilds for me |
Ok, I can reproduce as well. It looks like upstream is blocked on mikkyang/rust-jwt#86 before they can upgrade on their side. |
I submitted a PR here that fixes this issue and also makes it not download the already vendored dependencies again: #193093 |
Steps To Reproduce
Steps to reproduce the behavior:
Build log
Additional context
The issue may not be reproducible before the garbage collection.
Notify maintainers
@sjmackenzie @zimbatm @ehmry @obadz @danielfullmer
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: