# Native support for OSX builds?

**URL:** <https://travis-ci.community/t/native-support-for-osx-builds/2441>\
**Category:** Haskell\
**Created:** [February 24, 2019, 8:48am UTC](https://travis-ci.community/t/native-support-for-osx-builds/2441 "2019-02-24T08:48:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChShersh](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/chshersh/32/1273_2.png) [@ChShersh](https://travis-ci.community/u/ChShersh)\
**Post date:** [February 24, 2019, 8:48am UTC](https://travis-ci.community/t/native-support-for-osx-builds/2441/1 "2019-02-24T08:48:43Z")

</div>

Currently if I specify `language: haskell` in the `.travis.yml` file and use `osx` as an operating system, I see the following error:

```
$ export TRAVIS_HASKELL_VERSION=$(travis_ghc_find '7.10.3')
No such ghc version '7.10.3'.
Using default ghc version '7.10.3'.
$ export PATH=${TRAVIS_GHC_ROOT}/${TRAVIS_HASKELL_VERSION}/bin:${PATH}
GHC 7.10.3 not found. Terminating.

```

See example of the build here:

- [https://travis-ci.org/kowainik/hit-on/jobs/497705866](https://travis-ci.org/kowainik/hit-on/jobs/497705866)

I wonder, what can be done here?

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [February 27, 2019, 1:30am UTC](https://travis-ci.community/t/native-support-for-osx-builds/2441/2 "2019-02-27T01:30:03Z")

</div>

You can suggest a pull request to [https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/script/haskell.rb](https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/script/haskell.rb) which is where the logic whose output you gave is.
