Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: code 0.6.90 -> 0.6.100 https://github.com/just-every/code/releases
attrpath: code
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/wdxdc1yxs5a0a7pl97ls703mgn9gnkxh-packages.json.drv
building '/nix/store/wdxdc1yxs5a0a7pl97ls703mgn9gnkxh-packages.json.drv'...
Going to be running update for following packages:
- code-0.6.90
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- code-0.6.90: UPDATING ...
- code-0.6.90: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/by-name/co/code/package.nix b/pkgs/by-name/co/code/package.nix
index 7c1719690248..9cda52c8b26c 100644
--- a/pkgs/by-name/co/code/package.nix
+++ b/pkgs/by-name/co/code/package.nix
@@ -11,18 +11,18 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "code";
- version = "0.6.90";
+ version = "0.6.100";
src = fetchFromGitHub {
owner = "just-every";
repo = "code";
tag = "v${finalAttrs.version}";
- hash = "sha256-jJBsE29PeK3YymPueuMoL8P3B3hLgP4hXUfPraNBY3s=";
+ hash = "sha256-I/QdFRo6FeNtwlwwZXkCkeknJlkTo9wWrhJTZ5fdv7A=";
};
sourceRoot = "${finalAttrs.src.name}/code-rs";
- cargoHash = "sha256-ZNoF47zeLgmhBPZ2P9P2YAaWwmuykxj5veUX8qX0bGk=";
+ cargoHash = "sha256-ig90sWozfLZQJ/F6BuhRbLbR4GiyygqAaumO6WOItpw=";
nativeBuildInputs = lib.optionals stdenvNoCC.hostPlatform.isLinux [
pkg-config
An auto update branch exists with message `code: 0.6.90 -> 0.6.98`. New version is 0.6.100.
The auto update branch does not match or exceed the new version.
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: `d0dc8a867ace226ec16819f9f7f94f9baa7b7678`
---
### `x86_64-linux`
:white_check_mark: 1 package 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 code is: Fast, effective, mind-blowing, coding CLI
meta.homepage for code is: https://github.com/just-every/code
meta.changelog for code is: https://github.com/just-every/code/releases/tag/v0.6.100
###### 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.6.100 with grep in /nix/store/bxqjf3s61yd4xcaxs7m71d1kr5ibhg2f-code-0.6.100
- found 0.6.100 in filename of file in /nix/store/bxqjf3s61yd4xcaxs7m71d1kr5ibhg2f-code-0.6.100
---
Rebuild report (if merged into master) (click to expand)
```
2 total rebuild path(s)
2 package rebuild(s)
First fifty rebuilds by attrpath
code
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/bxqjf3s61yd4xcaxs7m71d1kr5ibhg2f-code-0.6.100 \
--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 code https://github.com/r-ryantm/nixpkgs/archive/d0dc8a867ace226ec16819f9f7f94f9baa7b7678.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/d0dc8a867ace226ec16819f9f7f94f9baa7b7678#code
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/bxqjf3s61yd4xcaxs7m71d1kr5ibhg2f-code-0.6.100
ls -la /nix/store/bxqjf3s61yd4xcaxs7m71d1kr5ibhg2f-code-0.6.100/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: `d0dc8a867ace226ec16819f9f7f94f9baa7b7678`
---
### `x86_64-linux`
:white_check_mark: 1 package built:
---
###### Maintainer pings
cc @Prince213 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).
Updated existing PR
https://api.github.com/repos/NixOS/nixpkgs/pulls/508521