From 3e0e991ad23eecb3d772c65a89c0ab57adb858f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Thu, 7 Oct 2021 16:34:05 -0500 Subject: [PATCH] github actions disable Spotlight by default now https://github.com/actions/virtual-environments/pull/1683 --- lib/install-nix.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/install-nix.sh b/lib/install-nix.sh index 31304ee..9787881 100755 --- a/lib/install-nix.sh +++ b/lib/install-nix.sh @@ -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"