Build touchy and unlit only in Stage0, copy binaries for later stages (#693)
authorAlp Mestanogullari <alpmestan@gmail.com>
Fri, 21 Sep 2018 20:24:41 +0000 (22:24 +0200)
committerAndrey Mokhov <andrey.mokhov@gmail.com>
Fri, 21 Sep 2018 20:24:41 +0000 (22:24 +0200)
commit835f2766eda708c7f8bc21c25528ce60dc7e8319
tree54c99b5b475f8e3d0949c512b1e14497703f63eb
parent6eb9c0c9bf918586f3f5b1c350eb99d541e43e06
Build touchy and unlit only in Stage0, copy binaries for later stages (#693)

* unlit: build only in stage0, copy that binary for later stages (fixes #595)

* add missing condition

We only want this "optimisation" for unlit.

* compare 'Package's instead of strings

* same optimisation for touchy
src/Rules/Program.hs