Skip to content

Commit

Permalink
github actions disable Spotlight by default now
Browse files Browse the repository at this point in the history
  • Loading branch information
domenkozar committed Oct 7, 2021
1 parent d04e8d6 commit 3e0e991
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/install-nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3e0e991

Please sign in to comment.