ollama: use cudaPackages.backendStdenv

This commit is contained in:
Pavol Rusnak
2025-01-20 22:14:32 +01:00
parent 66aa98b290
commit d73db220f7
+1 -1
View File
@@ -129,7 +129,7 @@ let
wrapperArgs = builtins.concatStringsSep " " wrapperOptions;
goBuild =
if enableCuda then buildGoModule.override { stdenv = overrideCC stdenv gcc12; } else buildGoModule;
if enableCuda then buildGoModule.override { stdenv = cudaPackages.backendStdenv; } else buildGoModule;
inherit (lib) licenses platforms maintainers;
in
goBuild {