# Building 0.19 from source, redux

**URL:** https://discourse.elm-lang.org/t/building-0-19-from-source-redux/3824
**Category:** Learn
**Created:** [June 20, 2019, 2:35am UTC](https://discourse.elm-lang.org/t/building-0-19-from-source-redux/3824 "2019-06-20T02:35:41Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![jerith](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/jerith/32/114_2.png) [@jerith](https://discourse.elm-lang.org/u/jerith)
#### Post date: [June 20, 2019, 2:35am UTC](https://discourse.elm-lang.org/t/building-0-19-from-source-redux/3824/1 "2019-06-20T02:35:41Z")

</div>

Just a quick follow-up to [Building 0.19 from source?](https://discourse.elm-lang.org/t/building-0-19-from-source/3769), since I missed the ten-day window to reply in-line:

You might have a look at [the `nix` expression for `elm`](https://github.com/NixOS/nixpkgs/tree/master/pkgs/development/compilers/elm). It declares all the proper versions of `ghc`, the various Haskell libs, etc. needed for a successful build.

If you’re interested in building ancillary elm tools with `nix` as well, see [Elm tooling for Nix and NixOS users](https://discourse.elm-lang.org/t/elm-tooling-for-nix-and-nixos-users/3641).

---

<div class="post-metadata">

### Author: ![jerith](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/jerith/32/114_2.png) [@jerith](https://discourse.elm-lang.org/u/jerith)
#### Post date: [June 20, 2019, 2:36am UTC](https://discourse.elm-lang.org/t/building-0-19-from-source-redux/3824/2 "2019-06-20T02:36:15Z")

</div>

Oh, and tagging @Joey_Eremondi so he’ll see this. 🙂

---

<div class="post-metadata">

### Author: ![turboMaCk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/turbomack/32/355_2.png) [@turboMaCk](https://discourse.elm-lang.org/u/turboMaCk)
#### Post date: [June 24, 2019, 10:45am UTC](https://discourse.elm-lang.org/t/building-0-19-from-source-redux/3824/3 "2019-06-24T10:45:33Z")

</div>

Related to that I’m currently working (waiting for merge) on integration of elm tooling directly yo nixpkgs. I would like to continue improving the state of elm with nix further. I have some PRs to elm2nix opened at the moment as well incrising the support of elm features and in the future I would also like the make nixpkgs compiler easily configurable so anyone who needs or wants can specify compiler version with certain patches applied. I think it might be reasonable middlegroud between not forcing the upstream to merge every patch and providing hotfixes.

---

<div class="post-metadata">

### Author: ![brian](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/brian/32/2180_2.png) [@brian](https://discourse.elm-lang.org/u/brian)
#### Post date: [June 24, 2019, 10:59am UTC](https://discourse.elm-lang.org/t/building-0-19-from-source-redux/3824/4 "2019-06-24T10:59:06Z")

</div>

You can do that pretty easily with `overrideAttrs` already—what other additions are needed?

---

<div class="post-metadata">

### Author: ![turboMaCk](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/turbomack/32/355_2.png) [@turboMaCk](https://discourse.elm-lang.org/u/turboMaCk)
#### Post date: [June 24, 2019, 11:24am UTC](https://discourse.elm-lang.org/t/building-0-19-from-source-redux/3824/5 "2019-06-24T11:24:13Z")

</div>

All I thought about is a bit of sugar which will make it a tiny bit simpler for newcomers. We’ll see I haven’t tryied anything still. Probably something like `elmWithPatches....`

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/1X/50a05e53677a2c3b47776d7abd0f113eb50193a1.png) [@system](https://discourse.elm-lang.org/u/system)
#### Post date: [July 4, 2019, 11:31am UTC](https://discourse.elm-lang.org/t/building-0-19-from-source-redux/3824/6 "2019-07-04T11:31:16Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
