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/3bpwvcpcs067baz796rkxj1dvs8sysq2-packages.json.drv building '/nix/store/3bpwvcpcs067baz796rkxj1dvs8sysq2-packages.json.drv'... Going to be running update for following packages: - faircamp-unstable-2022-12-28 Press Enter key to continue... Running update for: - faircamp-unstable-2022-12-28: UPDATING ... - faircamp-unstable-2022-12-28: 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 3bf22f2550b..8d455ef5c64 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-2022-12-28"; + version = "unstable-2023-03-29"; # 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 = "c77fd779cea6daecbac9a9beea65c1dc1ac56bc4"; - sha256 = "sha256-Tl3T/IoBIhYCNDEYT6cV1UyksDkoEDydBjYM9yzT4VQ="; + rev = "35f7530707291c539fec806f7b55428cc04642d9"; + sha256 = "sha256-54RpI+vqtDfMnsyHw7PVSyB0idiJoEAr4S2rnVHkn1I="; }; 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. < version = "6.0.4+zstd.1.5.4" < source = "registry+https://github.com/rust-lang/crates.io-index" < checksum = "7afb4b54b8910cf5447638cb54bf4e8a65cbedd783af98b98c62ffe91f185543" < dependencies = [ < "libc", < "zstd-sys", < ] < < [[package]] 2374c1476 < version = "2.0.7+zstd.1.5.4" --- > version = "2.0.4+zstd.1.5.2" 2376c1478 < checksum = "94509c3ba2fe55294d752b79842c530ccfab760192521df74a081a78d2b3c7f5" --- > checksum = "4fa202f2ef00074143e219d15b62ffc317d17cc33909feac471c044087cad7b0" 2380d1481 < "pkg-config", 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=";