Skip to content

Commit

Permalink
chore(test): disable elasticsearch on darwin (#443)
Browse files Browse the repository at this point in the history
Fails on macOS with: 
```sh
error: chmod '"/nix/store/rcx3n94ygmd61rrv2p22sykhk0yx49n4-elasticsearch-7.17.16/modules/x-pack-ml/platform/darwin-aarch64/controller.app"': Operation not permitted
```
Related: NixOS/nix#6765
  • Loading branch information
shivaraj-bh authored Feb 5, 2025
1 parent e4f0c40 commit e0ab360
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
"${inputs.services-flake}/nix/services/apache-kafka_test.nix"
"${inputs.services-flake}/nix/services/cassandra_test.nix"
"${inputs.services-flake}/nix/services/clickhouse/clickhouse_test.nix"
"${inputs.services-flake}/nix/services/elasticsearch_test.nix"
"${inputs.services-flake}/nix/services/grafana_test.nix"
"${inputs.services-flake}/nix/services/memcached_test.nix"
"${inputs.services-flake}/nix/services/minio_test.nix"
Expand All @@ -62,6 +61,10 @@
"${inputs.services-flake}/nix/services/tika_test.nix"
"${inputs.services-flake}/nix/services/weaviate_test.nix"
"${inputs.services-flake}/nix/services/zookeeper_test.nix"
] ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [
# Fails on macOS with: `error: chmod '"/nix/store/rcx3n94ygmd61rrv2p22sykhk0yx49n4-elasticsearch-7.17.16/modules/x-pack-ml/platform/darwin-aarch64/controller.app"': Operation not permitted`
# Related: https://github.com/NixOS/nix/issues/6765
"${inputs.services-flake}/nix/services/elasticsearch_test.nix"
]));
};
};
Expand Down

0 comments on commit e0ab360

Please sign in to comment.