change build

This commit is contained in:
DSeeLP 2025-04-17 17:05:58 +02:00
parent d64218a8aa
commit b8868728eb

View File

@ -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;