mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-21 16:10:52 +00:00
github actions disable Spotlight by default now
https://github.com/actions/virtual-environments/pull/1683
This commit is contained in:
parent
d04e8d60ba
commit
3e0e991ad2
1 changed files with 0 additions and 3 deletions
|
@ -48,9 +48,6 @@ echo "installer options: ${installer_options[@]}"
|
|||
sh <(curl --retry 5 --retry-connrefused -L "${INPUT_INSTALL_URL:-https://nixos.org/nix/install}") "${installer_options[@]}"
|
||||
|
||||
if [[ $OSTYPE =~ darwin ]]; then
|
||||
# Disable spotlight indexing of /nix to speed up performance
|
||||
sudo mdutil -i off /nix
|
||||
|
||||
# macOS needs certificates hints
|
||||
cert_file=/nix/var/nix/profiles/default/etc/ssl/certs/ca-bundle.crt
|
||||
echo "NIX_SSL_CERT_FILE=$cert_file" >> "$GITHUB_ENV"
|
||||
|
|
Loading…
Reference in a new issue