Skip to content

Commit 834da6f

Browse files
committed
nix: move meta down to follow Nixpkgs style more closely
1 parent 2701fb3 commit 834da6f

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

.devops/nix/package.nix

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -101,20 +101,6 @@ effectiveStdenv.mkDerivation (
101101
finalAttrs: {
102102
name = "llama.cpp";
103103
src = ../../.;
104-
meta = {
105-
description = "Inference of LLaMA model in pure C/C++${descriptionSuffix}";
106-
mainProgram = "llama";
107-
108-
109-
# These people might respond if you ping them in case of Nix-specific
110-
# regressions or for reviewing Nix-specific PRs.
111-
112-
# Note that lib.maintainers is defined in Nixpkgs.
113-
maintainers = with lib.maintainers; [
114-
philiptaron
115-
SomeoneSerge
116-
];
117-
};
118104

119105
postPatch = ''
120106
substituteInPlace ./ggml-metal.m \
@@ -190,5 +176,20 @@ effectiveStdenv.mkDerivation (
190176
inputsFrom = [ finalAttrs.finalPackage ];
191177
};
192178
};
179+
180+
meta = {
181+
description = "Inference of LLaMA model in pure C/C++${descriptionSuffix}";
182+
mainProgram = "llama";
183+
184+
185+
# These people might respond if you ping them in case of Nix-specific
186+
# regressions or for reviewing Nix-specific PRs.
187+
188+
# Note that lib.maintainers is defined in Nixpkgs.
189+
maintainers = with lib.maintainers; [
190+
philiptaron
191+
SomeoneSerge
192+
];
193+
};
193194
}
194195
)

0 commit comments

Comments
 (0)