cargo-lambda: fix darwin sandbox issues

This commit is contained in:
Niklas Korz 2025-02-06 18:08:35 +01:00
parent d512a965fa
commit cc11bdd9c6

View File

@ -53,6 +53,14 @@ rustPlatform.buildRustPackage rec {
CARGO_LAMBDA_BUILD_INFO = "(nixpkgs)";
checkFlags = lib.optionals stdenv.hostPlatform.isDarwin [
# Fails in darwin sandbox, first because of trying to listen to a port on
# localhost. While this would be fixed by `__darwinAllowLocalNetworking = true;`,
# they then fail with other I/O issues.
"--skip=test::test_download_example"
"--skip=test::test_download_example_with_cache"
];
passthru.updateScript = nix-update-script { };
meta = {