Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: ollama 0.40.4 -> 0.40.6 https://github.com/ollama/ollama/releases
attrpath: ollama
Checking auto update branch...
[version]
[version] generic version rewriter does not support multiple hashes
[rustCrateVersion]
[rustCrateVersion] No cargoHash found
[golangModuleVersion]
[golangModuleVersion] skipping because derivation has updateScript
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] Success
[updateScript] this derivation will be built:
/nix/store/jg9q6wx3fw0ssyl770vvp5366h7dk142-packages.json.drv
building '/nix/store/jg9q6wx3fw0ssyl770vvp5366h7dk142-packages.json.drv'...
structuredAttrs is enabled
Going to be running update for following packages:
- ollama-0.40.4
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- ollama-0.40.4: UPDATING ...
- ollama-0.40.4: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/by-name/ol/ollama/package.nix b/pkgs/by-name/ol/ollama/package.nix
index f84879bc22d3..48ce97ec8b4d 100644
--- a/pkgs/by-name/ol/ollama/package.nix
+++ b/pkgs/by-name/ol/ollama/package.nix
@@ -111,12 +111,12 @@ let
# vendored in-tree. Pre-stage the pin (tracks upstream's
# `LLAMA_CPP_VERSION` file) so the FetchContent step uses our copy
# instead of trying to clone over the network in the sandbox.
- llamaCppVersion = "b11521";
+ llamaCppVersion = "b11669";
llamaCppSrc = fetchFromGitHub {
owner = "ggml-org";
repo = "llama.cpp";
tag = llamaCppVersion;
- hash = "sha256-zkHQPGopaW4JXEebCGZjwl3Jqx4yb24Msq+ZvJsyNP8=";
+ hash = "sha256-pEDYgI3AMTU+cekvRX7NNt5wddznydQSNuerswvEpsA=";
};
wrapperOptions = [
@@ -152,13 +152,13 @@ let
in
goBuild (finalAttrs: {
pname = "ollama";
- version = "0.40.4";
+ version = "0.40.6";
src = fetchFromGitHub {
owner = "ollama";
repo = "ollama";
tag = "v${finalAttrs.version}";
- hash = "sha256-pNLexucSeop03cIkhdbkSvwNB3i0XEAlKrO4DaS59Xc=";
+ hash = "sha256-t3Asu9lIz8RW7xonHTJsTvtm1IEM6Rwfa0K5JN48Nwo=";
};
vendorHash = "sha256-QBwZKRnmLUHQNSx5oqE9AbMINE8PP5TVJncG9nzQryI=";
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: `d51dd87a0eb50fe7ec8482ca8764791e39164c89`
---
### `x86_64-linux`
:x: 1 package failed to build:
:white_check_mark: 5 packages built:
- ollama (ollama-cpu)
- ollama-cuda
- ollama-rocm
- ollama-vulkan
- chatd
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 ollama is: Get up and running with large language models locally
meta.homepage for ollama is: https://github.com/ollama/ollama
meta.changelog for ollama is: https://github.com/ollama/ollama/releases/tag/v0.40.6
###### Updates performed
- Ran passthru.UpdateScript
###### To inspect upstream changes
###### Impact
Checks done
---
- built on NixOS
> [!CAUTION]
> A test defined in `passthru.tests` did not pass.
- found 0.40.6 with grep in /nix/store/h19qlhpkhls98g51mvqp7d8f5w03lxkp-ollama-0.40.6
- found 0.40.6 in filename of file in /nix/store/h19qlhpkhls98g51mvqp7d8f5w03lxkp-ollama-0.40.6
---
Rebuild report (if merged into master) (click to expand)
```
15 total rebuild path(s)
11 package rebuild(s)
First fifty rebuilds by attrpath
alpaca
chatd
ollama
ollama-cpu
ollama-cuda
ollama-rocm
ollama-vulkan
pkgsRocm.alpaca
pkgsRocm.chatd
pkgsRocm.ollama
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/h19qlhpkhls98g51mvqp7d8f5w03lxkp-ollama-0.40.6 \
--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 ollama https://github.com/r-ryantm/nixpkgs/archive/d51dd87a0eb50fe7ec8482ca8764791e39164c89.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/d51dd87a0eb50fe7ec8482ca8764791e39164c89#ollama
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/h19qlhpkhls98g51mvqp7d8f5w03lxkp-ollama-0.40.6
ls -la /nix/store/h19qlhpkhls98g51mvqp7d8f5w03lxkp-ollama-0.40.6/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: `d51dd87a0eb50fe7ec8482ca8764791e39164c89`
---
### `x86_64-linux`
:x: 1 package failed to build:
:white_check_mark: 5 packages built:
- ollama (ollama-cpu)
- ollama-cuda
- ollama-rocm
- ollama-vulkan
- chatd
---
###### Maintainer pings
cc @prusnak 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/576450