Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: zerotierone 1.16.0 -> 1.16.2 https://github.com/zerotier/ZeroTierOne/releases attrpath: zerotierone Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/yzarl9km3g0zhsiwcjvcpjppj77nxppk-packages.json.drv building '/nix/store/yzarl9km3g0zhsiwcjvcpjppj77nxppk-packages.json.drv'... Going to be running update for following packages: - zerotierone-1.16.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - zerotierone-1.16.0: UPDATING ... - zerotierone-1.16.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/ze/zerotierone/package.nix b/pkgs/by-name/ze/zerotierone/package.nix index 965cebe76058..9638bbd32afb 100644 --- a/pkgs/by-name/ze/zerotierone/package.nix +++ b/pkgs/by-name/ze/zerotierone/package.nix @@ -19,13 +19,13 @@ let pname = "zerotierone"; - version = "1.16.0"; + version = "1.16.2"; src = fetchFromGitHub { owner = "zerotier"; repo = "ZeroTierOne"; tag = version; - hash = "sha256-bFfRz695sbdZJd5DIfF7j8lbEqWHSaIqHq/AfXZgZ4s="; + hash = "sha256-obOY9Ms+GnFxBOOrTr9cUDd+eje2bdU8Ll8ovlYLTL8="; }; in No auto update branch exists Received ExitFailure 1 when running Raw command: nix-build --option sandbox true --arg config "{ allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A zerotierone nix build failed. 4319c4219 < version = "0.11.3" --- > version = "0.11.1" 4321c4221 < checksum = "625dc425cab0dca6dc3c3319506e6593dcb08a9f387ea3b284dbd52a92c40555" --- > checksum = "5b96237efa0c878c64bd89c436f661be4e46b2f3eff1ebb976f7ef2321d2f58f" 4325c4225 < "syn 2.0.117", --- > "syn 2.0.106", 4327,4332d4226 < < [[package]] < name = "zmij" < version = "1.0.21" < source = "registry+https://github.com/rust-lang/crates.io-index" < checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa" ERROR: cargoHash or cargoSha256 is out of date Cargo.lock is not the same in /build/cargo-deps-vendor To fix the issue: 1. Set cargoHash/cargoSha256 to an empty string: `cargoHash = "";` 2. Build the derivation and wait for it to fail with a hash mismatch 3. Copy the "got: sha256-..." value back into the cargoHash field You should have: cargoHash = "sha256-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX=";