amdgpu_top 0.3.1 -> 0.4.0 https://repology.org/project/amdgpu-top/versions attrpath: amdgpu_top Checking auto update branch... No auto update branch exists [version] [version] updated version and sha256 [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] skipping because derivation has no updateScript [quotedUrls] [quotedUrls] nothing found to replace Diff after rewrites: diff --git a/pkgs/tools/system/amdgpu_top/default.nix b/pkgs/tools/system/amdgpu_top/default.nix index 73742692af0c..a57c7c181b76 100644 --- a/pkgs/tools/system/amdgpu_top/default.nix +++ b/pkgs/tools/system/amdgpu_top/default.nix @@ -14,13 +14,13 @@ rustPlatform.buildRustPackage rec { pname = "amdgpu_top"; - version = "0.3.1"; + version = "0.4.0"; src = fetchFromGitHub { owner = "Umio-Yasuno"; repo = pname; rev = "v${version}"; - hash = "sha256-bkrXm3lXJr+sZ09GeVHgfIp8JO3a/Ejrsm1Cm4eY4IU="; + hash = "sha256-ikru73I22HYUR9lil9quFNgnpxnCRd3bvwmjAOT+STg="; }; cargoLock = { 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 amdgpu_top nix build failed. > source = "git+https://github.com/Umio-Yasuno/libdrm-amdgpu-sys-rs#39b31fd54578d332f8085c033a1ef073b627be6e" 1917,1925d1916 < name = "memoffset" < version = "0.7.1" < source = "registry+https://github.com/rust-lang/crates.io-index" < checksum = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" < dependencies = [ < "autocfg", < ] < < [[package]] 1991c1982 < "memoffset 0.6.5", --- > "memoffset", 2004c1995 < "memoffset 0.6.5", --- > "memoffset", 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=";