mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-04-19 22:02:06 +00:00
Adding launcher to build. (#2397)
This commit is contained in:
parent
9c739651cd
commit
730fa00e20
18
_launcher.nix
Normal file
18
_launcher.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ buildRustPackage, importCargoLock, pkg-config, protobuf, openssl }:
|
||||
|
||||
buildRustPackage {
|
||||
name = "text-generation-lancher";
|
||||
|
||||
src = ./.;
|
||||
|
||||
sourceDir = ./launcher;
|
||||
|
||||
cargoLock = {
|
||||
lockFile = ./Cargo.lock;
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [ openssl.dev protobuf ];
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user