Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Commits
730fa00e
Unverified
Commit
730fa00e
authored
Aug 12, 2024
by
Nicolas Patry
Committed by
GitHub
Aug 12, 2024
Browse files
Adding launcher to build. (#2397)
parent
9c739651
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
+21
-0
_launcher.nix
_launcher.nix
+18
-0
flake.nix
flake.nix
+3
-0
No files found.
_launcher.nix
0 → 100644
View file @
730fa00e
{
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
];
}
flake.nix
View file @
730fa00e
...
@@ -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"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment