9 Commits

Author SHA1 Message Date
Ivan Folgueira Bande
26e13dd87a
fix in flake.nix pkgs.stdenv.isDarwin 2025-10-25 00:54:04 +02:00
Ivan Folgueira Bande
98b738c9c2
flake.nix: completely avoid adding android objects in macos
That produces a super long object file path which overpasses
the one hundred char size limit on macos ar utility
2025-10-25 00:44:34 +02:00
a8060c5600
nix: do not add android SDK on aarch64 Darwin
Otherwise it fails with:

error: aarch64-darwin not supported for Android SDK. Use: NIXPKGS_SYSTEM_OVERRIDE=x86_64-darwin

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-10-24 12:29:56 +02:00
2a216f3eb5
nix: fix targets to not be nested under androidPackages
Otherwise this happens:

 > nix flake show
error: expected a derivation

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-10-24 12:26:02 +02:00
Ivan Folgueira Bande
9fa8c7cd64
add windows in flake.nix 2025-10-22 02:13:39 +02:00
Ivan Folgueira Bande
52966cb874
flake nix allow build for all four archs 2025-10-21 03:10:08 +02:00
Ivan Folgueira Bande
35c0f1964d
nix add all unix status go supported platforms 2025-10-21 02:55:09 +02:00
Ivan Folgueira Bande
87d5716ac6
nix: fix builds of libsds for host and android
For some unknown reason the builds would fail with:

/bin/sh: line 1: clang: command not found

Unless we added Android NDK toolchains/llvm/prebuilt to PATH.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2025-10-15 18:24:02 +02:00
Ivan Folgueira Bande
a856026dbd
add flake.nix 2025-10-15 11:17:02 +02:00