mirror of
https://github.com/logos-messaging/nim-sds.git
synced 2026-01-02 14:13:07 +00:00
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
This commit is contained in:
parent
b9114ec917
commit
98b738c9c2
14
flake.nix
14
flake.nix
@ -40,12 +40,14 @@
|
||||
in rec {
|
||||
packages = forAllSystems (system: let
|
||||
pkgs = pkgsFor.${system};
|
||||
targets = [
|
||||
"libsds-android-arm64"
|
||||
"libsds-android-amd64"
|
||||
"libsds-android-x86"
|
||||
"libsds-android-arm"
|
||||
];
|
||||
targets = builtins.filter
|
||||
(t: !(stdenv.isDarwin && builtins.match "libsds-android.*" t != null))
|
||||
[
|
||||
"libsds-android-arm64"
|
||||
"libsds-android-amd64"
|
||||
"libsds-android-x86"
|
||||
"libsds-android-arm"
|
||||
];
|
||||
in rec {
|
||||
# non-Android package
|
||||
libsds = pkgs.callPackage ./nix/default.nix {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user