Unverified Commit 730fa00e authored by Nicolas Patry's avatar Nicolas Patry Committed by GitHub
Browse files

Adding launcher to build. (#2397)

parent 9c739651
{ 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 @@ ...@@ -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";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment