mirror of
https://git.dirksys.ovh/dirk/bankserver.git
synced 2025-12-20 11:09:21 +01:00
change build
This commit is contained in:
parent
d64218a8aa
commit
b8868728eb
@ -25,6 +25,8 @@ rustPlatform.buildRustPackage {
|
|||||||
|
|
||||||
buildInputs = [ openssl ];
|
buildInputs = [ openssl ];
|
||||||
|
|
||||||
|
env.OPENSSL_NO_VENDOR = true;
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
cp -r ${schemas}/share/bankserver/schemas schemas
|
cp -r ${schemas}/share/bankserver/schemas schemas
|
||||||
|
|
||||||
@ -32,8 +34,6 @@ rustPlatform.buildRustPackage {
|
|||||||
redocly bundle openapi-temp.yaml -o openapi.json
|
redocly bundle openapi-temp.yaml -o openapi.json
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildType = "debug";
|
|
||||||
|
|
||||||
cargoBuildFlags = "--bin bankserver";
|
cargoBuildFlags = "--bin bankserver";
|
||||||
|
|
||||||
CARGO_BUILD_TARGET = targetPlatform.config;
|
CARGO_BUILD_TARGET = targetPlatform.config;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user