anki-sync-server: fix cross compilation
This commit is contained in:
parent
64b2f13b2e
commit
9dea01228a
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
, openssl
|
, openssl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, protobuf
|
, buildPackages
|
||||||
}:
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage {
|
rustPlatform.buildRustPackage {
|
||||||
@ -30,7 +30,7 @@ rustPlatform.buildRustPackage {
|
|||||||
"--skip=scheduler::answering::test::state_application"
|
"--skip=scheduler::answering::test::state_application"
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [ protobuf pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
openssl
|
openssl
|
||||||
@ -39,7 +39,7 @@ rustPlatform.buildRustPackage {
|
|||||||
darwin.apple_sdk.frameworks.SystemConfiguration
|
darwin.apple_sdk.frameworks.SystemConfiguration
|
||||||
];
|
];
|
||||||
|
|
||||||
env.PROTOC = lib.getExe protobuf;
|
env.PROTOC = lib.getExe buildPackages.protobuf;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Standalone official anki sync server";
|
description = "Standalone official anki sync server";
|
||||||
|
Loading…
Reference in New Issue
Block a user