<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cabal-helper.git/src, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://g.ypei.me/cabal-helper.git/atom?h=master</id>
<link rel='self' href='https://g.ypei.me/cabal-helper.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://g.ypei.me/cabal-helper.git/'/>
<updated>2022-06-08T13:53:08+00:00</updated>
<entry>
<title>fixing cabal-helper</title>
<updated>2022-06-08T13:53:08+00:00</updated>
<author>
<name>Yuchen Pei</name>
<email>hi@ypei.me</email>
</author>
<published>2022-06-08T13:53:08+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/cabal-helper.git/commit/?id=f7a7705332075449326a12816169aefa3acd1d00'/>
<id>urn:sha1:f7a7705332075449326a12816169aefa3acd1d00</id>
<content type='text'>
- removing version constraints in cabal file so that build works with
  ghc-9.2.2 + cabal-3.6.2.0
- fixing a do block indentation
- fixing a small poblem with ciSourceDirs because Cabal 3.6.2.0 has
  hsSourceDirs :: BuildInfo -&gt; [SymbolicPath PackageDir SourceDir]
  instead of
   BuildInfo  -&gt; [ FilePath ]
</content>
</entry>
<entry>
<title>Fix Cabal-3.4 renaming Flags to PackageFlags</title>
<updated>2021-02-13T23:51:53+00:00</updated>
<author>
<name>Daniel Gröber</name>
<email>dxld@darkboxed.org</email>
</author>
<published>2021-02-13T23:49:53+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/cabal-helper.git/commit/?id=27fcb41165616b1fd78be1f3d7f8d41625ba1bda'/>
<id>urn:sha1:27fcb41165616b1fd78be1f3d7f8d41625ba1bda</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add .exe in win to cabal-helper executable</title>
<updated>2020-05-20T07:42:02+00:00</updated>
<author>
<name>jneira</name>
<email>atreyu.bbb@gmail.com</email>
</author>
<published>2020-05-15T05:34:34+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/cabal-helper.git/commit/?id=8b51b51e90458b226e68fd8a1785f28252d58325'/>
<id>urn:sha1:8b51b51e90458b226e68fd8a1785f28252d58325</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor Program versions handling</title>
<updated>2020-05-10T19:50:44+00:00</updated>
<author>
<name>Daniel Gröber</name>
<email>dxld@darkboxed.org</email>
</author>
<published>2019-08-06T17:39:23+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/cabal-helper.git/commit/?id=bda559bf059ee42e3e01c1280f7a64dd2673d725'/>
<id>urn:sha1:bda559bf059ee42e3e01c1280f7a64dd2673d725</id>
<content type='text'>
This mainly renames the program version getters to get* and make them
consistenly return Version directly. Such that wrappers like GhcVersion
have to be added at the callsites of the relevant functions.
</content>
</entry>
<entry>
<title>Add suffix V1 to make it explicit</title>
<updated>2020-05-10T19:39:56+00:00</updated>
<author>
<name>jneira</name>
<email>atreyu.bbb@gmail.com</email>
</author>
<published>2020-05-08T20:45:21+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/cabal-helper.git/commit/?id=f606584fd104f864694e4fb9b943ef13904cdc96'/>
<id>urn:sha1:f606584fd104f864694e4fb9b943ef13904cdc96</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use forward compatible v1 prefix if available</title>
<updated>2020-05-10T19:39:56+00:00</updated>
<author>
<name>jneira</name>
<email>atreyu.bbb@gmail.com</email>
</author>
<published>2020-05-08T20:26:38+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/cabal-helper.git/commit/?id=b3287733a2e5aacc5b6b9f716dcac623f2b52e52'/>
<id>urn:sha1:b3287733a2e5aacc5b6b9f716dcac623f2b52e52</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix helper usage message</title>
<updated>2020-05-02T15:25:59+00:00</updated>
<author>
<name>Daniel Gröber</name>
<email>dxld@darkboxed.org</email>
</author>
<published>2020-05-02T14:43:12+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/cabal-helper.git/commit/?id=e3373c02994196c3fd5143eb60da9df12b0887ef'/>
<id>urn:sha1:e3373c02994196c3fd5143eb60da9df12b0887ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Only pass pjUnits to compile module instead of whole PlanJson</title>
<updated>2020-05-02T13:44:26+00:00</updated>
<author>
<name>Daniel Gröber</name>
<email>dxld@darkboxed.org</email>
</author>
<published>2020-05-01T21:13:48+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/cabal-helper.git/commit/?id=5b85a4b9e1c6463c94ffa595893ad02c9a3d2ec3'/>
<id>urn:sha1:5b85a4b9e1c6463c94ffa595893ad02c9a3d2ec3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix Cabal version selection for build-type:Custom</title>
<updated>2020-05-02T13:44:26+00:00</updated>
<author>
<name>Daniel Gröber</name>
<email>dxld@darkboxed.org</email>
</author>
<published>2020-01-11T06:46:33+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/cabal-helper.git/commit/?id=852dbc69d276e19add3917d17dff5541d84e29d4'/>
<id>urn:sha1:852dbc69d276e19add3917d17dff5541d84e29d4</id>
<content type='text'>
Previously we would pick up Stack's Cabal version with ghc-pkg on the
global package-db. This however ignores that Stack also supports custom
Setup.hs with the Cabal version from the snapshot instead.

In cabal v2-build we have a similar problem. We used to assume that
plan.json's cabal-lib-version is used uniformly across units but this is
similarly untrue.

To fix both of these we re-stage the cabal version query to after
reconfiguring a unit, then we can just lookup the Cabal version in
setup-config.

Fixes #95
</content>
</entry>
<entry>
<title>Ignore setup components from plan.json in readUnitInfo</title>
<updated>2020-05-02T13:44:26+00:00</updated>
<author>
<name>Daniel Gröber</name>
<email>dxld@darkboxed.org</email>
</author>
<published>2020-05-01T23:55:55+00:00</published>
<link rel='alternate' type='text/html' href='https://g.ypei.me/cabal-helper.git/commit/?id=f0741c61bd82ec0f94edcfa8d950f349eac86c33'/>
<id>urn:sha1:f0741c61bd82ec0f94edcfa8d950f349eac86c33</id>
<content type='text'>
Cabal includes the Setup.hs executable as a component in plan.json, however
there isn't a target to build it directly so we just ignore it for not when
reading unit info.
</content>
</entry>
</feed>
