public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
From: Roger Mason <rmason-by2PdLBuqAc@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: Can'f find pandoc-types
Date: Mon, 13 Dec 2021 15:18:20 -0330	[thread overview]
Message-ID: <y65y24o49wu.fsf@mun.ca> (raw)
In-Reply-To: <m2fsqw9zke.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>

Hello,

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

> 'stack install' just installs executables, I think.
>
> Are you trying to compile the filters?  If so, then what you want
> is
>
>     stack ghc -- --make myfilter.hs
>
> If you do this in the directory in which you've installed pandoc,
> then (if I recall correctly) stack will be able to find the libraries.
>
> Alternatively, you could set up a separate stack project for
> the filter, with the dependencies listed.
>
> Or, you could use a "stack script"
> https://www.fpcomplete.com/haskell/tutorial/stack-script/
>
> Hope that helps.

It does, thanks.  I used the stack script method.


      parent reply	other threads:[~2021-12-13 18:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-13 15:15 sprock
     [not found] ` <d969a04d-796e-4633-9fb0-4f863cb2d053n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2021-12-13 17:36   ` John MacFarlane
     [not found]     ` <m2fsqw9zke.fsf-d8241O7hbXoP5tpWdHSM3tPlBySK3R6THiGdP5j34PU@public.gmane.org>
2021-12-13 18:48       ` Roger Mason [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=y65y24o49wu.fsf@mun.ca \
    --to=rmason-by2pdlbuqac@public.gmane.org \
    --cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).