Skip to content

Commit 72296a5

Browse files
authored
ollama: 0.5.11 -> 0.5.12 (#385055)
2 parents fea63d4 + 667e5f3 commit 72296a5

File tree

1 file changed

+3
-12
lines changed

1 file changed

+3
-12
lines changed

pkgs/by-name/ol/ollama/package.nix

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,17 @@ assert builtins.elem acceleration [
4444
let
4545
pname = "ollama";
4646
# don't forget to invalidate all hashes each update
47-
version = "0.5.11";
47+
version = "0.5.12";
4848

4949
src = fetchFromGitHub {
5050
owner = "ollama";
5151
repo = "ollama";
5252
tag = "v${version}";
53-
hash = "sha256-Yc/FwIoPvzYSxlrhjkc6xFL5iCunDYmZkG16MiWVZck=";
53+
hash = "sha256-le3OeGC/rddY9NNgmO7YcFthsZSQiO+gGSkpcV+TNXo=";
5454
fetchSubmodules = true;
5555
};
5656

57-
vendorHash = "sha256-wtmtuwuu+rcfXsyte1C4YLQA4pnjqqxFmH1H18Fw75g=";
57+
vendorHash = "sha256-ON9ow9/KglBy+RKNhw1n3E5AJtpjPQvJwNAQTaWzEFA=";
5858

5959
validateFallback = lib.warnIf (config.rocmSupport && config.cudaSupport) (lib.concatStrings [
6060
"both `nixpkgs.config.rocmSupport` and `nixpkgs.config.cudaSupport` are enabled, "
@@ -173,15 +173,6 @@ goBuild {
173173
++ lib.optionals enableCuda cudaLibs
174174
++ lib.optionals stdenv.hostPlatform.isDarwin metalFrameworks;
175175

176-
patches = [
177-
# don't try to build x86_64 architectures on linux-aarch64
178-
# NOTE: should be removed after 0.5.11
179-
(fetchpatch {
180-
url = "https://github.com/ollama/ollama/commit/08a299e1d0636056b09d669f9aa347139cde6ec0.patch";
181-
hash = "sha256-PC9jQklPAN/ZdHlQEQ6/RweGGBiUPDehHyaboX0tRZk=";
182-
})
183-
];
184-
185176
# replace inaccurate version number with actual release version
186177
postPatch = ''
187178
substituteInPlace version/version.go \

0 commit comments

Comments
 (0)