From 0e614077c32a85ed5e0cc4e7c41ac54772243d05 Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Mon, 25 Dec 2023 17:29:50 +0000 Subject: [PATCH] nix: move meta down to follow Nixpkgs style more closely --- .devops/nix/package.nix | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.devops/nix/package.nix b/.devops/nix/package.nix index 12b8f6645..471c46b2a 100644 --- a/.devops/nix/package.nix +++ b/.devops/nix/package.nix @@ -101,20 +101,6 @@ effectiveStdenv.mkDerivation ( finalAttrs: { name = "llama.cpp"; src = ../../.; - meta = { - description = "Inference of LLaMA model in pure C/C++${descriptionSuffix}"; - 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 - ]; - }; postPatch = '' substituteInPlace ./ggml-metal.m \ @@ -190,5 +176,20 @@ effectiveStdenv.mkDerivation ( inputsFrom = [ finalAttrs.finalPackage ]; }; }; + + meta = { + description = "Inference of LLaMA model in pure C/C++${descriptionSuffix}"; + 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 + ]; + }; } )