kile-wl 0 -> 1 attrpath: kile-wl 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 [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/k5siw9h1v7a6zqiwf0r5xjv018929vl6-packages.json.drv building '/nix/store/k5siw9h1v7a6zqiwf0r5xjv018929vl6-packages.json.drv'... Going to be running update for following packages: - kile-wl-unstable-2023-07-23 Press Enter key to continue... Running update for: - kile-wl-unstable-2023-07-23: UPDATING ... - kile-wl-unstable-2023-07-23: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/applications/misc/kile-wl/default.nix b/pkgs/applications/misc/kile-wl/default.nix index 842499f845a6..9d153e627c39 100644 --- a/pkgs/applications/misc/kile-wl/default.nix +++ b/pkgs/applications/misc/kile-wl/default.nix @@ -2,13 +2,13 @@ rustPlatform.buildRustPackage rec { pname = "kile-wl"; - version = "unstable-2023-07-23"; + version = "unstable-2023-09-03"; src = fetchFromGitLab { owner = "snakedye"; repo = "kile"; - rev = "c24208761d04e0a74d203fc1dcd2f7fed68da388"; - sha256 = "sha256-4iclNVd7nm6LkgvsHwWaWyi1bZL/A+bbT5OSXn70bLs="; + rev = "683efdd637afca25bcb61b3e8140f7485ac50939"; + sha256 = "sha256-QK6oJ4YpncUJvJWfnSFnz9OeMKf3CPz/P4vjOkJ8pmQ="; }; passthru.updateScript = unstableGitUpdater { 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 kile-wl nix build failed. got build log for 'kile-wl' from 'daemon' @nix { "action": "setPhase", "phase": "unpackPhase" } Running phase: unpackPhase unpacking source archive /nix/store/1db6yi6p0wdbdiz8hvysdmyb88xcmw3f-source source root is source Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook @nix { "action": "setPhase", "phase": "patchPhase" } Running phase: patchPhase Executing cargoSetupPostPatchHook Validating consistency between /build/source/Cargo.lock and /build/cargo-vendor-dir/Cargo.lock 73c73 < source = "git+https://gitlab.com/snakedye/kilexpr#ec2ceca749467482051ccec4f47ab04667745b23" --- > source = "git+https://gitlab.com/snakedye/kilexpr#d7b58f2c9fd771b175d410c0b7f870f647a4fbbb" 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=";