Skip to content

Instantly share code, notes, and snippets.

@ajkovar
Last active July 16, 2020 03:33
Show Gist options
  • Save ajkovar/68c3cb486fdfaaa35c7aaa1b63fd20c2 to your computer and use it in GitHub Desktop.
Save ajkovar/68c3cb486fdfaaa35c7aaa1b63fd20c2 to your computer and use it in GitHub Desktop.

Ran into this while running nix-build (for buildling a haskell project:

"checking whether the C compiler works... no osx"

This fixed it:

xcode-select --install

This didn't seem to fix the problem. Also ran this:

sudo xcode-select --switch /Library/Developer/CommandLineTools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment