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/jv3phxlx7f6ifyka6np4wxjs43jr4qv5-packages.json.drv building '/nix/store/jv3phxlx7f6ifyka6np4wxjs43jr4qv5-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..78bfad3af6c 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-05-09"; # 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 = "baa8ea3732c5b608e13aeea89a69a12e4104a245"; + hash = "sha256-J0ZJXZIu4FUcaie0C/dvoX4PTGKOm0ctWXQ82jTXpJk="; }; 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. > checksum = "7afb4b54b8910cf5447638cb54bf4e8a65cbedd783af98b98c62ffe91f185543" 2761c2434 < version = "2.0.8+zstd.1.5.5" --- > version = "2.0.7+zstd.1.5.4" 2763c2436 < checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c" --- > checksum = "94509c3ba2fe55294d752b79842c530ccfab760192521df74a081a78d2b3c7f5" 2768,2776d2440 < ] < < [[package]] < name = "zune-inflate" < version = "0.2.54" < source = "registry+https://github.com/rust-lang/crates.io-index" < checksum = "73ab332fe2f6680068f3582b16a24f90ad7096d5d39b974d1c0aff0125116f02" < 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=";