Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: ast-grep 0.45.0 -> 0.45.1 https://github.com/ast-grep/ast-grep/releases attrpath: ast-grep 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/apw3af5bjw39c593m10f4a1qd6c7660m-packages.json.drv building '/nix/store/apw3af5bjw39c593m10f4a1qd6c7660m-packages.json.drv'... Going to be running update for following packages: - ast-grep-0.45.0 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - ast-grep-0.45.0: UPDATING ... - ast-grep-0.45.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/as/ast-grep/package.nix b/pkgs/by-name/as/ast-grep/package.nix index f0715ceff5d1..da19c09a27f3 100644 --- a/pkgs/by-name/as/ast-grep/package.nix +++ b/pkgs/by-name/as/ast-grep/package.nix @@ -11,13 +11,13 @@ rustPlatform.buildRustPackage (finalAttrs: { pname = "ast-grep"; - version = "0.45.0"; + version = "0.45.1"; src = fetchFromGitHub { owner = "ast-grep"; repo = "ast-grep"; tag = finalAttrs.version; - hash = "sha256-njMkegbthIvJAI0tlSVg1G+/wRwSqWwXu4ZjM216Lys="; + hash = "sha256-YNn49WuILwe3gyvHSKh3dH5BZKhtR+YeSCCGDu0qulg="; }; # error: linker `aarch64-linux-gnu-gcc` not found @@ -25,7 +25,7 @@ rustPlatform.buildRustPackage (finalAttrs: { rm .cargo/config.toml ''; - cargoHash = "sha256-1i5NK6B1bT5UAac5VPVZcReFI24r6wboy+d1eSdbfXU="; + cargoHash = "sha256-6ZqV9SJes6++TJxcj/Dmi8DyaoTa164CKi4C/EyfnuQ="; nativeBuildInputs = [ installShellFiles ]; No auto update branch exists Successfully finished processing [check][nixpkgs-review] ## `nixpkgs-review` result Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review). Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'` Commit: `08957aabf42dc158c49b3b0b9e7c35a92078432d` --- ### `x86_64-linux`
:white_check_mark: 13 packages built:
Automatic update generated by [nixpkgs-update](https://github.com/nix-community/nixpkgs-update) tools. This update was made based on information from passthru.updateScript. meta.description for ast-grep is: Fast and polyglot tool for code searching, linting, rewriting at large scale meta.homepage for ast-grep is: https://ast-grep.github.io/ meta.changelog for ast-grep is: https://github.com/ast-grep/ast-grep/blob/0.45.1/CHANGELOG.md ###### Updates performed - Ran passthru.UpdateScript ###### To inspect upstream changes ###### Impact Checks done --- - built on NixOS - The tests defined in `passthru.tests`, if any, passed - found 0.45.1 with grep in /nix/store/szmdh9r1vfn86hwiirj73qf40nd1ycvb-ast-grep-0.45.1 - found 0.45.1 in filename of file in /nix/store/szmdh9r1vfn86hwiirj73qf40nd1ycvb-ast-grep-0.45.1 ---
Rebuild report (if merged into master) (click to expand) ``` 21 total rebuild path(s) 15 package rebuild(s) First fifty rebuilds by attrpath ast-grep lua51Packages.grug-far-nvim lua52Packages.grug-far-nvim lua53Packages.grug-far-nvim lua54Packages.grug-far-nvim lua55Packages.grug-far-nvim luaPackages.grug-far-nvim luajitPackages.grug-far-nvim python313Packages.ast-grep-cli python313Packages.ast-grep-py python314Packages.ast-grep-cli python314Packages.ast-grep-py serpl vimPlugins.grug-far-nvim ```
Instructions to test this update (click to expand) --- Either **download from the cache**: ``` nix-store -r /nix/store/szmdh9r1vfn86hwiirj73qf40nd1ycvb-ast-grep-0.45.1 \ --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \ --option trusted-public-keys ' nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ' ``` (The nixpkgs-update cache is only trusted for this store-path realization.) For the cached download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted. Or, **build yourself**: ``` nix-build -A ast-grep https://github.com/r-ryantm/nixpkgs/archive/08957aabf42dc158c49b3b0b9e7c35a92078432d.tar.gz ``` Or: ``` nix build github:r-ryantm/nixpkgs/08957aabf42dc158c49b3b0b9e7c35a92078432d#ast-grep ``` After you've downloaded or built it, look at the files and if there are any, run the binaries: ``` ls -la /nix/store/szmdh9r1vfn86hwiirj73qf40nd1ycvb-ast-grep-0.45.1 ls -la /nix/store/szmdh9r1vfn86hwiirj73qf40nd1ycvb-ast-grep-0.45.1/bin ``` ---

### Pre-merge build results We have automatically built all packages that will get rebuilt due to this change. This gives evidence on whether the upgrade will break dependent packages. Note sometimes packages show up as _failed to build_ independent of the change, simply because they are already broken on the target branch. ## `nixpkgs-review` result Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review). Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'` Commit: `08957aabf42dc158c49b3b0b9e7c35a92078432d` --- ### `x86_64-linux`
:white_check_mark: 13 packages built:
--- ###### Maintainer pings cc @xiaoxiangmoe @astratagem @Lord-Valen @cafkafk for [testing](https://github.com/nix-community/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do). > [!TIP] > As a maintainer, if your package is located under `pkgs/by-name/*`, you can comment **`@NixOS/nixpkgs-merge-bot merge`** to automatically merge this update using the [`nixpkgs-merge-bot`](https://github.com/NixOS/nixpkgs/blob/master/ci/README.md#nixpkgs-merge-bot). https://api.github.com/repos/NixOS/nixpkgs/pulls/552452