Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: ast-grep 0.44.0 -> 0.44.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/nmj0id4n7wm2c1cjyr5i7903yj8fhkwd-packages.json.drv
building '/nix/store/nmj0id4n7wm2c1cjyr5i7903yj8fhkwd-packages.json.drv'...
Going to be running update for following packages:
- ast-grep-0.44.0
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- ast-grep-0.44.0: UPDATING ...
- ast-grep-0.44.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 0f078898f2b0..18ac78422a2c 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.44.0";
+ version = "0.44.1";
src = fetchFromGitHub {
owner = "ast-grep";
repo = "ast-grep";
tag = finalAttrs.version;
- hash = "sha256-KTVyG2z2Vx4mLmkiwou4X04Z6qzpQxmwRCtcmG4euVA=";
+ hash = "sha256-C6JwLx6z+/xSm9kMF48hfd3WTRax8Bdy3zgGeYxGyg8=";
};
# error: linker `aarch64-linux-gnu-gcc` not found
@@ -25,7 +25,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
rm .cargo/config.toml
'';
- cargoHash = "sha256-slFovLzLaK6DlTF/LKI74PUWXi9xkpy9hC9WWGmypcM=";
+ cargoHash = "sha256-waeAXcxnvTWbuAhVWdA5wPdWvS1aSSptGerFoGEtFUE=";
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: `a4430e9c7af4e5c18847940d420f764a132563dc`
---
### `x86_64-linux`
:white_check_mark: 11 packages built:
- ast-grep
- lua52Packages.grug-far-nvim
- lua53Packages.grug-far-nvim
- lua54Packages.grug-far-nvim
- lua55Packages.grug-far-nvim
- luajitPackages.grug-far-nvim
- python313Packages.ast-grep-py
- python314Packages.ast-grep-py
- serpl
- vimPlugins.grug-far-nvim
- lua51Packages.grug-far-nvim
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.44.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.44.1 with grep in /nix/store/ff3vinfk011c6lzx2dw8jj6iz5g5q96k-ast-grep-0.44.1
- found 0.44.1 in filename of file in /nix/store/ff3vinfk011c6lzx2dw8jj6iz5g5q96k-ast-grep-0.44.1
---
Rebuild report (if merged into master) (click to expand)
```
15 total rebuild path(s)
13 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-py
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/ff3vinfk011c6lzx2dw8jj6iz5g5q96k-ast-grep-0.44.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/a4430e9c7af4e5c18847940d420f764a132563dc.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/a4430e9c7af4e5c18847940d420f764a132563dc#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/ff3vinfk011c6lzx2dw8jj6iz5g5q96k-ast-grep-0.44.1
ls -la /nix/store/ff3vinfk011c6lzx2dw8jj6iz5g5q96k-ast-grep-0.44.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: `a4430e9c7af4e5c18847940d420f764a132563dc`
---
### `x86_64-linux`
:white_check_mark: 11 packages built:
- ast-grep
- lua52Packages.grug-far-nvim
- lua53Packages.grug-far-nvim
- lua54Packages.grug-far-nvim
- lua55Packages.grug-far-nvim
- luajitPackages.grug-far-nvim
- python313Packages.ast-grep-py
- python314Packages.ast-grep-py
- serpl
- vimPlugins.grug-far-nvim
- lua51Packages.grug-far-nvim
---
###### 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/539758