Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: amp-cli 0 -> 1 attrpath: amp-cli Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/ivx1ywr10wx96vpsxzcd9rdbflcbcvgp-packages.json.drv building '/nix/store/ivx1ywr10wx96vpsxzcd9rdbflcbcvgp-packages.json.drv'... Going to be running update for following packages: - amp-cli-0.0.1783629102-g8185a2 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - amp-cli-0.0.1783629102-g8185a2: UPDATING ... - amp-cli-0.0.1783629102-g8185a2: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/am/amp-cli/package.nix b/pkgs/by-name/am/amp-cli/package.nix index ef38328ce8b4..4363672fa3d3 100644 --- a/pkgs/by-name/am/amp-cli/package.nix +++ b/pkgs/by-name/am/amp-cli/package.nix @@ -26,7 +26,7 @@ let in stdenvNoCC.mkDerivation (finalAttrs: { pname = "amp-cli"; - version = "0.0.1783629102-g8185a2"; + version = "0.0.1784391370-g49c6a1"; src = finalAttrs.passthru.sources.${stdenvNoCC.hostPlatform.system}; @@ -77,9 +77,9 @@ stdenvNoCC.mkDerivation (finalAttrs: { url = "https://static.ampcode.com/cli/${finalAttrs.version}/amp-${platform}.gz"; hash = { - x86_64-linux = "sha256-KNXCbNhY7njmGQlv3NxBmkIDciVVZlXl9JedBerdrZM="; - aarch64-linux = "sha256-HJf1Ikmai/h/Y2HybYcKxRhx5VhiyoPaubocCkoxF3s="; - aarch64-darwin = "sha256-agoKx8pXQf1HGUwsfqpgeZBubwhnPG+xqIfu3Y+AK2Y="; + x86_64-linux = "sha256-x7p8BIQbu/ylyCkE63NZQUYfOn5nzwvwqXRWYbW4Q8w="; + aarch64-linux = "sha256-X2xQzlu2VfucXii92mFWsp1Ab8blBORtT/BE0kcZi6g="; + aarch64-darwin = "sha256-8jj4+dtc54eaFHVlCYKdX9F3s/qrCVICgi5Dyi+n3cg="; } .${system'}; } 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: `038b8e62fa63f8ff02b8b14894427d624d8d63e8` --- ### `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 amp-cli is: CLI for Amp, an agentic coding agent in research preview from Sourcegraph meta.homepage for amp-cli is: https://ampcode.com/ ###### 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.0.1784391370-g49c6a1 with grep in /nix/store/6mdqb1zgkkx6z6hax1mz7njqzdv69ry3-amp-cli-0.0.1784391370-g49c6a1 - found 0.0.1784391370-g49c6a1 in filename of file in /nix/store/6mdqb1zgkkx6z6hax1mz7njqzdv69ry3-amp-cli-0.0.1784391370-g49c6a1 ---
Rebuild report (if merged into master) (click to expand) ``` 4 total rebuild path(s) 2 package rebuild(s) First fifty rebuilds by attrpath amp-cli ```
Instructions to test this update (click to expand) --- Either **download from the cache**: ``` nix-store -r /nix/store/6mdqb1zgkkx6z6hax1mz7njqzdv69ry3-amp-cli-0.0.1784391370-g49c6a1 \ --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 amp-cli https://github.com/r-ryantm/nixpkgs/archive/038b8e62fa63f8ff02b8b14894427d624d8d63e8.tar.gz ``` Or: ``` nix build github:r-ryantm/nixpkgs/038b8e62fa63f8ff02b8b14894427d624d8d63e8#amp-cli ``` After you've downloaded or built it, look at the files and if there are any, run the binaries: ``` ls -la /nix/store/6mdqb1zgkkx6z6hax1mz7njqzdv69ry3-amp-cli-0.0.1784391370-g49c6a1 ls -la /nix/store/6mdqb1zgkkx6z6hax1mz7njqzdv69ry3-amp-cli-0.0.1784391370-g49c6a1/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: `038b8e62fa63f8ff02b8b14894427d624d8d63e8` --- ### `x86_64-linux`
:white_check_mark: 1 package built:
--- ###### Maintainer pings cc @keegancsmith @burmudar 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/543281