File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,15 @@ effectiveStdenv.mkDerivation (
178
178
} ;
179
179
180
180
meta = {
181
- broken = ( useCuda && effectiveStdenv . isDarwin ) || ( useMetalKit && ! effectiveStdenv . isDarwin ) ;
181
+ # Configurations we don't want even the CI to evaluate. Results in the
182
+ # "unsupported platform" messages. This is mostly a no-op, because
183
+ # cudaPackages would've refused to evaluate anyway.
184
+ badPlatforms = optionals ( useCuda || useOpenCL ) lib . platforms . darwin ;
185
+
186
+ # Configurations that are known to result in build failures. Can be
187
+ # overridden by importing Nixpkgs with `allowBroken = true`.
188
+ broken = ( useMetalKit && ! effectiveStdenv . isDarwin ) ;
189
+
182
190
description = "Inference of LLaMA model in pure C/C++${ descriptionSuffix } " ;
183
191
homepage = "https://github.com/ggerganov/llama.cpp/" ;
184
192
license = lib . licenses . mit ;
@@ -201,7 +209,8 @@ effectiveStdenv.mkDerivation (
201
209
SomeoneSerge
202
210
] ;
203
211
204
- platforms = lib . platforms . unix ;
212
+ # Extend `badPlatforms` instead
213
+ platforms = lib . platforms . all ;
205
214
} ;
206
215
}
207
216
)
You can’t perform that action at this time.
0 commit comments