From 5dfe9ba4b698623fc3baf98b89fd80a7db14004e Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Mon, 25 Dec 2023 17:32:44 +0000 Subject: [PATCH] nix: add missing meta attributes --- .devops/nix/package.nix | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.devops/nix/package.nix b/.devops/nix/package.nix index 471c46b2a..a9d5453de 100644 --- a/.devops/nix/package.nix +++ b/.devops/nix/package.nix @@ -178,18 +178,24 @@ effectiveStdenv.mkDerivation ( }; meta = { + broken = (useCuda && effectiveStdenv.isDarwin) || (useMetalKit && !effectiveStdenv.isDarwin); description = "Inference of LLaMA model in pure C/C++${descriptionSuffix}"; - mainProgram = "llama"; + homepage = "https://github.com/ggerganov/llama.cpp/"; + license = lib.licenses.mit; + # Accommodates `nix run` and `lib.getExe` + mainProgram = "llama"; # These people might respond if you ping them in case of Nix-specific # regressions or for reviewing Nix-specific PRs. # Note that lib.maintainers is defined in Nixpkgs. maintainers = with lib.maintainers; [ - philiptaron - SomeoneSerge + philiptaron + SomeoneSerge ]; + + platforms = lib.platforms.unix; }; } )