Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: usblog 0.3.0 -> 0.4.0 https://github.com/inradii/usblog/releases attrpath: usblog Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] skipping because derivation has updateScript [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/5x078713qmsmx61p8yiv1zslyfkyid2l-packages.json.drv building '/nix/store/5x078713qmsmx61p8yiv1zslyfkyid2l-packages.json.drv'... Going to be running update for following packages: - usblog-0.3.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - usblog-0.3.0: UPDATING ... - usblog-0.3.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/us/usblog/package.nix b/pkgs/by-name/us/usblog/package.nix index 6b49ca312818..3f873590af8c 100644 --- a/pkgs/by-name/us/usblog/package.nix +++ b/pkgs/by-name/us/usblog/package.nix @@ -8,7 +8,7 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "usblog"; - version = "0.3.0"; + version = "0.4.0"; __structuredAttrs = true; @@ -16,7 +16,7 @@ rustPlatform.buildRustPackage (finalAttrs: { owner = "inradii"; repo = "usblog"; tag = finalAttrs.version; - hash = "sha256-Ddkd6ViHrtmAwtUuhKBF3kNAARYS4935LqfkZhoeQP8="; + hash = "sha256-lCB6q2GDGTTUCUA1rjBVgCupCHcBb4VGRi2DDewAwrQ="; }; cargoHash = "sha256-OwGCNo+lWM+YObyNu04Q36fKHYmwCcsd7I3nlg0eDU8="; No auto update branch exists Old version 0.3.0" not present in master derivation file with contents: { lib, rustPlatform, fetchFromGitHub, nix-update-script, versionCheckHook, }: rustPlatform.buildRustPackage (finalAttrs: { pname = "usblog"; version = "0.4.0"; __structuredAttrs = true; src = fetchFromGitHub { owner = "inradii"; repo = "usblog"; tag = finalAttrs.version; hash = "sha256-lCB6q2GDGTTUCUA1rjBVgCupCHcBb4VGRi2DDewAwrQ="; }; cargoHash = "sha256-OwGCNo+lWM+YObyNu04Q36fKHYmwCcsd7I3nlg0eDU8="; nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; passthru.updateScript = nix-update-script { }; meta = { description = "USB event collection and diff tool for Linux"; homepage = "https://github.com/inradii/usblog"; changelog = "https://github.com/inradii/usblog/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; mainProgram = "usblog"; platforms = lib.platforms.linux; }; })