all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#50728: Update Pandoc (just on my machine)
@ 2021-09-21 23:46 vidak
  2021-09-23 12:57 ` Maxim Cournoyer
  0 siblings, 1 reply; 3+ messages in thread
From: vidak @ 2021-09-21 23:46 UTC (permalink / raw)
  To: 50728

I know that there is this issue:

http://issues.guix.gnu.org/39798

And it was closed because Guix wants to stay with the LTS version of
Haskell.

But I need to use some features that come in later versions of pandoc.

A few of my static site generator projects break because I need features
that come after 2.7.x, which is the version that Guix packages.

Can someone explain to me how to package the latest pandoc just on my
own computer?

Thanks.

~vidak




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

* bug#50728: Update Pandoc (just on my machine)
  2021-09-21 23:46 bug#50728: Update Pandoc (just on my machine) vidak
@ 2021-09-23 12:57 ` Maxim Cournoyer
  2021-09-27 15:40   ` zimoun
  0 siblings, 1 reply; 3+ messages in thread
From: Maxim Cournoyer @ 2021-09-23 12:57 UTC (permalink / raw)
  To: vidak; +Cc: 50728-done

Hello,

vidak@riseup.net writes:

> I know that there is this issue:
>
> http://issues.guix.gnu.org/39798
>
> And it was closed because Guix wants to stay with the LTS version of
> Haskell.
>
> But I need to use some features that come in later versions of pandoc.
>
> A few of my static site generator projects break because I need features
> that come after 2.7.x, which is the version that Guix packages.
>
> Can someone explain to me how to package the latest pandoc just on my
> own computer?
>
> Thanks.

The first step is configuring a development setup as explained in "info
'(guix)Contributing" sections.

Then you'd want to update the version and source fields with the new
version details (guix hash -rx on the checkout or guix download
https://tarball-url) to retrieve the new hash.

Then you'd summarily review the new sources for important changes such
as a change to their licensing.  A Changelog or NEWS file can be helpful
to understand what has changed, if available.

Then you'd start iterating on building the new package with something
like:

$ ./pre-inst-env guix build pandoc

If it's your lucky day it'll build without any change; but if it's a
major update you might have to modify the inputs or even update them in
prior commits.

Good luck!

If you have further questions, please ask on the help-guix@gnu.org
mailing list.  I'll close this bug, as this tracker should remain focus
on actual bugs rather than update/packaging requests.

Thanks,

Maxim




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

* bug#50728: Update Pandoc (just on my machine)
  2021-09-23 12:57 ` Maxim Cournoyer
@ 2021-09-27 15:40   ` zimoun
  0 siblings, 0 replies; 3+ messages in thread
From: zimoun @ 2021-09-27 15:40 UTC (permalink / raw)
  To: 50728, Maxim Cournoyer, vidak; +Cc: 50728-done

Hi,

In addition to Maxim's words. :-)

On Thu, 23 Sept 2021 at 14:58, Maxim Cournoyer
<maxim.cournoyer@gmail.com> wrote:

> The first step is configuring a development setup as explained in "info
> '(guix)Contributing" sections.

You can create a variant of the current 'pandoc' package and then use
it via "--load-path" or via your own channel or directly in a manifest
file or via "guix build -f your-variant.scm".  Well, (at least) 5
ways; it depends on your needs. :-)


> If you have further questions, please ask on the help-guix@gnu.org
> mailing list.  I'll close this bug, as this tracker should remain focus
> on actual bugs rather than update/packaging requests.

Please ask on hel-guix@gnu.org or guix-devel@gnu.org  if you need help.

Cheers,
simon




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

end of thread, other threads:[~2021-09-27 15:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-21 23:46 bug#50728: Update Pandoc (just on my machine) vidak
2021-09-23 12:57 ` Maxim Cournoyer
2021-09-27 15:40   ` zimoun

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.