<feed xmlns='http://www.w3.org/2005/Atom'>
<title>propellor/executables/propellor-config.hs, branch master</title>
<subtitle>gnusosa's centralized propellor repository for hosts spin-up.
</subtitle>
<id>https://git.gnusosa.net/propellor/atom?h=master</id>
<link rel='self' href='https://git.gnusosa.net/propellor/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/'/>
<updated>2018-04-22T16:19:40Z</updated>
<entry>
<title>separate Hs-Source-Dirs for binaries</title>
<updated>2018-04-22T16:19:40Z</updated>
<author>
<name>Joey Hess</name>
<email>joeyh@joeyh.name</email>
</author>
<published>2018-04-22T16:15:35Z</published>
<link rel='alternate' type='text/html' href='https://git.gnusosa.net/propellor/commit/?id=d8d2faece72eabd18c2ff303e5fb63c3a69961f6'/>
<id>urn:sha1:d8d2faece72eabd18c2ff303e5fb63c3a69961f6</id>
<content type='text'>
This is a trick I only just learned about, see
https://stackoverflow.com/questions/6711151/how-to-avoid-recompiling-in-this-cabal-file#6711739

Significantly increased propellor build speed when your config.hs is in
a fork of the propellor repository, by avoiding redundant builds of
propellor library.

Also avoids needing to list all the build deps 3 times.

Also avoids cabal 2.x wanting every module to be listed 3 times.

Note that the bulk of wrapper.hs had to move into the propellor library,
since that code depended on stuff not exposed by the library.

This commit was sponsored by Henrik Riomar on Patreon.
</content>
</entry>
</feed>
