From b8868728ebe1eefb3f9ca1c04ecf2853d9e1b73a Mon Sep 17 00:00:00 2001 From: DSeeLP <46624152+DSeeLP@users.noreply.github.com> Date: Thu, 17 Apr 2025 17:05:58 +0200 Subject: [PATCH] change build --- package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.nix b/package.nix index cf3975a..b9fce4f 100644 --- a/package.nix +++ b/package.nix @@ -25,6 +25,8 @@ rustPlatform.buildRustPackage { buildInputs = [ openssl ]; + env.OPENSSL_NO_VENDOR = true; + preBuild = '' cp -r ${schemas}/share/bankserver/schemas schemas @@ -32,8 +34,6 @@ rustPlatform.buildRustPackage { redocly bundle openapi-temp.yaml -o openapi.json ''; - buildType = "debug"; - cargoBuildFlags = "--bin bankserver"; CARGO_BUILD_TARGET = targetPlatform.config;