faircamp 0 -> 1 attrpath: faircamp Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/ibwah5s8h6av098bvm990qa2i649slhf-packages.json.drv building '/nix/store/ibwah5s8h6av098bvm990qa2i649slhf-packages.json.drv'... Going to be running update for following packages: - faircamp-unstable-2023-04-10 Press Enter key to continue... Running update for: - faircamp-unstable-2023-04-10: UPDATING ... - faircamp-unstable-2023-04-10: DONE. Packages updated! [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/applications/misc/faircamp/default.nix b/pkgs/applications/misc/faircamp/default.nix index 0df585ab33c..94c60792cc5 100644 --- a/pkgs/applications/misc/faircamp/default.nix +++ b/pkgs/applications/misc/faircamp/default.nix @@ -13,14 +13,14 @@ rustPlatform.buildRustPackage { pname = "faircamp"; - version = "unstable-2023-04-10"; + version = "unstable-2023-04-27"; # TODO when switching to a stable release, use fetchFromGitea and add a # version test. Meanwhile, fetchgit is used to make unstableGitUpdater work. src = fetchgit { url = "https://codeberg.org/simonrepp/faircamp.git"; - rev = "21f775dc35a88c54015694f9757e81c97fa860ea"; - hash = "sha256-aMSMMIGfoiqtg8Dj8QiCbUE40OKQXMXt4hvlvbXQLls="; + rev = "78702670d5c66f043bc3498105b63d81653ece36"; + hash = "sha256-fGmcnL9qi6N3Ym52WkNW/klNZcjJaNBb9kgdWQHoc6s="; }; cargoLock = { No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/3nqhcyc7vid1npgcd0m7arg5sn325nhz-nix-2.12.0/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A faircamp nix build failed. < < [[package]] 2704,2709d2374 < name = "windows_x86_64_msvc" < version = "0.48.0" < source = "registry+https://github.com/rust-lang/crates.io-index" < checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" < < [[package]] 2776,2784d2440 < ] < < [[package]] < name = "zune-inflate" < version = "0.2.53" < source = "registry+https://github.com/rust-lang/crates.io-index" < checksum = "440a08fd59c6442e4b846ea9b10386c38307eae728b216e1ab2c305d1c9daaf8" < dependencies = [ < "simd-adler32", 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=";