Loading pkgs/by-name/ol/ollama/package.nix +4 −4 Original line number Diff line number Diff line Loading @@ -94,7 +94,7 @@ let cudaToolkit = buildEnv { # ollama hardcodes the major version in the Makefile to support different variants. # - https://github.com/ollama/ollama/blob/v0.19.0/CMakePresets.json#L21-L47 # - https://github.com/ollama/ollama/blob/v0.20.2/CMakePresets.json#L21-L47 name = "cuda-merged-${cudaMajorVersion}"; paths = map lib.getLib cudaLibs ++ [ (lib.getOutput "static" cudaPackages.cuda_cudart) Loading Loading @@ -140,13 +140,13 @@ let in goBuild (finalAttrs: { pname = "ollama"; version = "0.20.0"; version = "0.20.2"; src = fetchFromGitHub { owner = "ollama"; repo = "ollama"; tag = "v${finalAttrs.version}"; hash = "sha256-QQKPXdXlsT+uMGGIyqkVZqk6OTa7VHrwDVmgDdgdKOY="; hash = "sha256-Ic3eLOohLR7MQGkLvDJBNOCiBBKxh6l8X9MgK0b4w+Y="; }; vendorHash = "sha256-Lc1Ktdqtv2VhJQssk8K1UOimeEjVNvDWePE9WkamCos="; Loading Loading @@ -232,7 +232,7 @@ goBuild (finalAttrs: { ''; # ollama looks for acceleration libs in ../lib/ollama/ (now also for CPU-only with arch specific optimizations) # https://github.com/ollama/ollama/blob/v0.19.0/docs/development.md#library-detection # https://github.com/ollama/ollama/blob/v0.20.2/docs/development.md#library-detection postInstall = '' mkdir -p $out/lib cp -r build/lib/ollama $out/lib/ Loading Loading
pkgs/by-name/ol/ollama/package.nix +4 −4 Original line number Diff line number Diff line Loading @@ -94,7 +94,7 @@ let cudaToolkit = buildEnv { # ollama hardcodes the major version in the Makefile to support different variants. # - https://github.com/ollama/ollama/blob/v0.19.0/CMakePresets.json#L21-L47 # - https://github.com/ollama/ollama/blob/v0.20.2/CMakePresets.json#L21-L47 name = "cuda-merged-${cudaMajorVersion}"; paths = map lib.getLib cudaLibs ++ [ (lib.getOutput "static" cudaPackages.cuda_cudart) Loading Loading @@ -140,13 +140,13 @@ let in goBuild (finalAttrs: { pname = "ollama"; version = "0.20.0"; version = "0.20.2"; src = fetchFromGitHub { owner = "ollama"; repo = "ollama"; tag = "v${finalAttrs.version}"; hash = "sha256-QQKPXdXlsT+uMGGIyqkVZqk6OTa7VHrwDVmgDdgdKOY="; hash = "sha256-Ic3eLOohLR7MQGkLvDJBNOCiBBKxh6l8X9MgK0b4w+Y="; }; vendorHash = "sha256-Lc1Ktdqtv2VhJQssk8K1UOimeEjVNvDWePE9WkamCos="; Loading Loading @@ -232,7 +232,7 @@ goBuild (finalAttrs: { ''; # ollama looks for acceleration libs in ../lib/ollama/ (now also for CPU-only with arch specific optimizations) # https://github.com/ollama/ollama/blob/v0.19.0/docs/development.md#library-detection # https://github.com/ollama/ollama/blob/v0.20.2/docs/development.md#library-detection postInstall = '' mkdir -p $out/lib cp -r build/lib/ollama $out/lib/ Loading