nix: move meta down to follow Nixpkgs style more closely
This commit is contained in:
parent
0925e7ee7c
commit
0e614077c3
1 changed files with 15 additions and 14 deletions
|
@ -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
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue