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/6j673miaaasz3052qxqcm69jxfvm6v1h-packages.json.drv building '/nix/store/6j673miaaasz3052qxqcm69jxfvm6v1h-packages.json.drv'... sourcing setup hook '/nix/store/yq6n8b0mnk0qxzbs3ajsjcp8ziwqylrl-patchelf-0.15.0/nix-support/setup-hook' sourcing setup hook '/nix/store/iks1pihvbilsh5sy8qvpd638k422w9i8-update-autotools-gnu-config-scripts-hook/nix-support/setup-hook' sourcing setup hook '/nix/store/h9lc1dpi14z7is86ffhl3ld569138595-audit-tmpdir.sh' sourcing setup hook '/nix/store/m54bmrhj6fqz8nds5zcj97w9s9bckc9v-compress-man-pages.sh' sourcing setup hook '/nix/store/wgrbkkaldkrlrni33ccvm3b6vbxzb656-make-symlinks-relative.sh' sourcing setup hook '/nix/store/5yzw0vhkyszf2d179m0qfkgxmp5wjjx4-move-docs.sh' sourcing setup hook '/nix/store/fyaryjvghbkpfnsyw97hb3lyb37s1pd6-move-lib64.sh' sourcing setup hook '/nix/store/kd4xwxjpjxi71jkm6ka0np72if9rm3y0-move-sbin.sh' sourcing setup hook '/nix/store/pag6l61paj1dc9sv15l7bm5c17xn5kyk-move-systemd-user-units.sh' sourcing setup hook '/nix/store/jivxp510zxakaaic7qkrb7v1dd2rdbw9-multiple-outputs.sh' sourcing setup hook '/nix/store/ilaf1w22bxi6jsi45alhmvvdgy4ly3zs-patch-shebangs.sh' sourcing setup hook '/nix/store/cickvswrvann041nqxb0rxilc46svw1n-prune-libtool-files.sh' sourcing setup hook '/nix/store/xyff06pkhki3qy1ls77w10s0v79c9il0-reproducible-builds.sh' sourcing setup hook '/nix/store/ngg1cv31c8c7bcm2n8ww4g06nq7s4zhm-set-source-date-epoch-to-latest.sh' sourcing setup hook '/nix/store/gps9qrh99j7g02840wv5x78ykmz30byp-strip.sh' Going to be running update for following packages: - kile-wl-2.1-unstable-2023-07-23 Press Enter key to continue... Running update for: - kile-wl-2.1-unstable-2023-07-23: UPDATING ... - kile-wl-2.1-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 a5f05c473f38..864d13070f1e 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 = "2.1-unstable-2023-07-23"; + version = "2.1-unstable-2023-09-03"; src = fetchFromGitLab { owner = "snakedye"; repo = "kile"; - rev = "c24208761d04e0a74d203fc1dcd2f7fed68da388"; - hash = "sha256-4iclNVd7nm6LkgvsHwWaWyi1bZL/A+bbT5OSXn70bLs="; + rev = "683efdd637afca25bcb61b3e8140f7485ac50939"; + hash = "sha256-QK6oJ4YpncUJvJWfnSFnz9OeMKf3CPz/P4vjOkJ8pmQ="; }; passthru.updateScript = unstableGitUpdater { No auto update branch exists Received ExitFailure 1 when running Raw command: /nix/store/y0qaalgy7nk3kvnk09j4466skm8ry55l-nix-2.18.5/bin/nix-build --option sandbox true --arg config "{ allowBroken = true; allowUnfree = true; allowAliases = false; }" --arg overlays "[ ]" -A kile-wl nix build failed. @nix { "action": "setPhase", "phase": "unpackPhase" } Running phase: unpackPhase unpacking source archive /nix/store/1db6yi6p0wdbdiz8hvysdmyb88xcmw3f-source calling 'unpackCmd' function hook '_defaultUnpack' /nix/store/1db6yi6p0wdbdiz8hvysdmyb88xcmw3f-source source root is source evaling implicit 'postUnpack' string hook calling 'postUnpack' function hook 'cargoSetupPostUnpackHook' Executing cargoSetupPostUnpackHook Finished cargoSetupPostUnpackHook calling 'postUnpack' function hook '_updateSourceDateEpochFromSourceRoot' @nix { "action": "setPhase", "phase": "patchPhase" } Running phase: patchPhase calling 'postPatch' function hook 'cargoSetupPostPatchHook' 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=";