public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* cabal-version
@ 2021-02-05 18:37 Albert Krewinkel
       [not found] ` <87o8gyl5sy.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Albert Krewinkel @ 2021-02-05 18:37 UTC (permalink / raw)
  To: pandoc-discuss

I just noticed that I'm using `cabal-version: 2.4` in
hslua-module-path, while pandoc and all(?) other dependencies can be
built with cabal 2.2. Should I update my package, or is cabal 2.4
acceptable?

Cabal 2.4 has nice features, including the `common` stanza which
helps to reduce boilerplate. But Debian stable still on cabal 2.2,
if that matters.

--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cabal-version
       [not found] ` <87o8gyl5sy.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
@ 2021-02-05 18:51   ` John MacFarlane
       [not found]     ` <m2tuqqcpq5.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: John MacFarlane @ 2021-02-05 18:51 UTC (permalink / raw)
  To: Albert Krewinkel, pandoc-discuss


I like to make pandoc buildable using debian stable, so
if it's not too complex to revise to use 2.2, that would
be nice.  OTOH, if we're not testing on CI with 2.2, then
it's entirely possible that other dependencies also require
2.4...


Albert Krewinkel <albert+pandoc-9EawChwDxG8hFhg+JK9F0w@public.gmane.org> writes:

> I just noticed that I'm using `cabal-version: 2.4` in
> hslua-module-path, while pandoc and all(?) other dependencies can be
> built with cabal 2.2. Should I update my package, or is cabal 2.4
> acceptable?
>
> Cabal 2.4 has nice features, including the `common` stanza which
> helps to reduce boilerplate. But Debian stable still on cabal 2.2,
> if that matters.
>
> --
> Albert Krewinkel
> GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124
>
> -- 
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/87o8gyl5sy.fsf%40zeitkraut.de.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cabal-version
       [not found]     ` <m2tuqqcpq5.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
@ 2021-02-06 19:05       ` Albert Krewinkel
  0 siblings, 0 replies; 3+ messages in thread
From: Albert Krewinkel @ 2021-02-06 19:05 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw


John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> writes:

> I like to make pandoc buildable using debian stable, so
> if it's not too complex to revise to use 2.2, that would
> be nice.  OTOH, if we're not testing on CI with 2.2, then
> it's entirely possible that other dependencies also require
> 2.4...

I learned that the common stanza was actually introduced in cabal
2.2, so the fix was just a matter of changing `cabal-version`.

The build succeeds with cabal 2.2, and I've created a PR to check
this in the future.

--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe  e836 388d c0b2 1f63 1124


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-02-06 19:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-05 18:37 cabal-version Albert Krewinkel
     [not found] ` <87o8gyl5sy.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2021-02-05 18:51   ` cabal-version John MacFarlane
     [not found]     ` <m2tuqqcpq5.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2021-02-06 19:05       ` cabal-version Albert Krewinkel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).