nix: move meta down to follow Nixpkgs style more closely

This commit is contained in:
Someone Serge 2023-12-25 17:29:50 +00:00
parent 0925e7ee7c
commit 0e614077c3
No known key found for this signature in database
GPG key ID: 7B0E3B1390D61DA4

View file

@ -101,20 +101,6 @@ effectiveStdenv.mkDerivation (
finalAttrs: { finalAttrs: {
name = "llama.cpp"; name = "llama.cpp";
src = ../../.; 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 = '' postPatch = ''
substituteInPlace ./ggml-metal.m \ substituteInPlace ./ggml-metal.m \
@ -190,5 +176,20 @@ effectiveStdenv.mkDerivation (
inputsFrom = [ finalAttrs.finalPackage ]; 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
];
};
} }
) )