anki-sync-server: fix cross compilation

This commit is contained in:
Nick Cao
2024-11-28 10:56:06 -05:00
parent 64b2f13b2e
commit 9dea01228a
+3 -3
View File
@@ -6,7 +6,7 @@
, openssl
, pkg-config
, protobuf
, buildPackages
}:
rustPlatform.buildRustPackage {
@@ -30,7 +30,7 @@ rustPlatform.buildRustPackage {
"--skip=scheduler::answering::test::state_application"
];
nativeBuildInputs = [ protobuf pkg-config ];
nativeBuildInputs = [ pkg-config ];
buildInputs = [
openssl
@@ -39,7 +39,7 @@ rustPlatform.buildRustPackage {
darwin.apple_sdk.frameworks.SystemConfiguration
];
env.PROTOC = lib.getExe protobuf;
env.PROTOC = lib.getExe buildPackages.protobuf;
meta = with lib; {
description = "Standalone official anki sync server";