Skip to content

Commit ab3c2db

Browse files
committed
nix: add missing meta attributes
1 parent 834da6f commit ab3c2db

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.devops/nix/package.nix

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,18 +178,24 @@ effectiveStdenv.mkDerivation (
178178
};
179179

180180
meta = {
181+
broken = (useCuda && effectiveStdenv.isDarwin) || (useMetalKit && !effectiveStdenv.isDarwin);
181182
description = "Inference of LLaMA model in pure C/C++${descriptionSuffix}";
182-
mainProgram = "llama";
183+
homepage = "https://github.com/ggerganov/llama.cpp/";
184+
license = lib.licenses.mit;
183185

186+
# Accommodates `nix run` and `lib.getExe`
187+
mainProgram = "llama";
184188

185189
# These people might respond if you ping them in case of Nix-specific
186190
# regressions or for reviewing Nix-specific PRs.
187191

188192
# Note that lib.maintainers is defined in Nixpkgs.
189193
maintainers = with lib.maintainers; [
190-
philiptaron
191-
SomeoneSerge
194+
philiptaron
195+
SomeoneSerge
192196
];
197+
198+
platforms = lib.platforms.unix;
193199
};
194200
}
195201
)

0 commit comments

Comments
 (0)