airshipper 0.10.0 -> 0.11.0 https://repology.org/project/airshipper/versions attrpath: airshipper Checking auto update branch... No auto update branch exists [version] [version] updated version and sha256 [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] skipping because derivation has no updateScript Diff after rewrites: diff --git a/pkgs/games/airshipper/default.nix b/pkgs/games/airshipper/default.nix index 0791aa8dfa27..5759588a5364 100644 --- a/pkgs/games/airshipper/default.nix +++ b/pkgs/games/airshipper/default.nix @@ -22,7 +22,7 @@ , patchelf }: let - version = "0.10.0"; + version = "0.11.0"; # Patch for airshipper to install veloren patch = let runtimeLibs = [ @@ -60,7 +60,7 @@ rustPlatform.buildRustPackage { owner = "Veloren"; repo = "airshipper"; rev = "v${version}"; - sha256 = "sha256-5zP1Ye1fJNQp8eWKwdxLqBr4qzBfWEEBsJ9s7+8idL4="; + sha256 = "sha256-Ks+AfCjBWkzrx8R4TaPKGbLFjVg02X2uO5YvGl1cZUk="; }; cargoLock = { Received ExitFailure 1 when running Raw command: /nix/store/cydbsmqkxk30didm1rlz8ffk5wfa9gva-nix-2.18.2/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A airshipper nix build failed. 5896d5288 < "once_cell", 5942c5334 < "time 0.1.45", --- > "time 0.1.44", 5962,5971c5354 < "time 0.1.45", < ] < < [[package]] < name = "zune-inflate" < version = "0.2.54" < source = "registry+https://github.com/rust-lang/crates.io-index" < checksum = "73ab332fe2f6680068f3582b16a24f90ad7096d5d39b974d1c0aff0125116f02" < dependencies = [ < "simd-adler32", --- > "time 0.1.44", ERROR: cargoHash or cargoSha256 is out of date Cargo.lock is not the same in /build/cargo-vendor-dir 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=";