foundationdb: mark cross-compiling as broken

This commit is contained in:
Robert Rose 2025-01-24 09:44:27 +01:00
parent 4b60f67148
commit 3701d859ae
2 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,7 @@ To enable FoundationDB, add the following to your
```nix ```nix
{ {
services.foundationdb.enable = true; services.foundationdb.enable = true;
services.foundationdb.package = pkgs.foundationdb73; # FoundationDB 7.r3.x services.foundationdb.package = pkgs.foundationdb73; # FoundationDB 7.3.x
} }
``` ```

View File

@ -135,6 +135,8 @@ let
license = licenses.asl20; license = licenses.asl20;
platforms = [ "x86_64-linux" ] platforms = [ "x86_64-linux" ]
++ lib.optionals (!(avxEnabled version)) [ "aarch64-linux" ]; ++ lib.optionals (!(avxEnabled version)) [ "aarch64-linux" ];
# Fails when cross-compiling with "/bin/sh: gcc-ar: not found"
broken = stdenv.buildPlatform != stdenv.hostPlatform;
maintainers = with maintainers; [ thoughtpolice lostnet ]; maintainers = with maintainers; [ thoughtpolice lostnet ];
}; };
}; };