Adding launcher to build. (#2397)
This commit is contained in:
parent
9c739651cd
commit
730fa00e20
|
@ -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 ];
|
||||||
|
|
||||||
|
}
|
|
@ -74,6 +74,9 @@
|
||||||
(callPackage ./router.nix {
|
(callPackage ./router.nix {
|
||||||
inherit (rustPlatform) buildRustPackage importCargoLock;
|
inherit (rustPlatform) buildRustPackage importCargoLock;
|
||||||
})
|
})
|
||||||
|
(callPackage ./_launcher.nix {
|
||||||
|
inherit (rustPlatform) buildRustPackage importCargoLock;
|
||||||
|
})
|
||||||
]);
|
]);
|
||||||
|
|
||||||
venvDir = "./.venv";
|
venvDir = "./.venv";
|
||||||
|
|
Loading…
Reference in New Issue