mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 12:56:30 +03:00
build(nix): fix build of deltachat-rpc-server-x86_64-darwin
This commit is contained in:
5
.github/workflows/nix.yml
vendored
5
.github/workflows/nix.yml
vendored
@@ -95,10 +95,11 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
installable:
|
installable:
|
||||||
- deltachat-rpc-server
|
- deltachat-rpc-server
|
||||||
|
- deltachat-rpc-server-x86_64-darwin
|
||||||
|
|
||||||
# Fails to bulid
|
# Fails to build
|
||||||
|
# because of <https://github.com/NixOS/nixpkgs/issues/413910>.
|
||||||
# - deltachat-rpc-server-aarch64-darwin
|
# - deltachat-rpc-server-aarch64-darwin
|
||||||
# - deltachat-rpc-server-x86_64-darwin
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -237,6 +237,9 @@
|
|||||||
auditable = false; # Avoid cargo-auditable failures.
|
auditable = false; # Avoid cargo-auditable failures.
|
||||||
doCheck = false; # Disable test as it requires network access.
|
doCheck = false; # Disable test as it requires network access.
|
||||||
|
|
||||||
|
CARGO_TARGET_X86_64_APPLE_DARWIN_RUSTFLAGS = "-Clink-args=-L${pkgsCross.libiconv}/lib";
|
||||||
|
CARGO_TARGET_AARCH64_APPLE_DARWIN_RUSTFLAGS = "-Clink-args=-L${pkgsCross.libiconv}/lib";
|
||||||
|
|
||||||
CARGO_BUILD_TARGET = rustTarget;
|
CARGO_BUILD_TARGET = rustTarget;
|
||||||
TARGET_CC = "${pkgsCross.stdenv.cc}/bin/${pkgsCross.stdenv.cc.targetPrefix}cc";
|
TARGET_CC = "${pkgsCross.stdenv.cc}/bin/${pkgsCross.stdenv.cc.targetPrefix}cc";
|
||||||
CARGO_BUILD_RUSTFLAGS = [
|
CARGO_BUILD_RUSTFLAGS = [
|
||||||
|
|||||||
Reference in New Issue
Block a user