From bc78e72960dee2721c3648e8061cb543f775710b Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 30 May 2024 12:08:16 -0400 Subject: Pin this url to a hash instead of master Otherwise it might change from underneath me (which it did already once). --- Biz/Bild/Deps/ollama.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Biz/Bild/Deps/ollama.nix b/Biz/Bild/Deps/ollama.nix index 1fd1f20..72e31f7 100644 --- a/Biz/Bild/Deps/ollama.nix +++ b/Biz/Bild/Deps/ollama.nix @@ -136,7 +136,7 @@ in goBuild ((lib.optionalAttrs enableRocm { # those patches are added to `llamacppPatches`, and reapplied here in the patch phase (fetchpatch { url = - "https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/tools/misc/ollama/disable-git.patch"; + "https://raw.githubusercontent.com/NixOS/nixpkgs/70998b85f2dd9b48faa474134678277a03dfa107/pkgs/by-name/ol/ollama/disable-git.patch"; hash = "sha256-7DthNfvk4VACdJb5L+4n9JmFzQn9qqDP2N4Hwuuhtgg="; }) ] ++ llamacppPatches; -- cgit v1.2.3