3

I'm very new to NixOS. I use Pandoc a lot, often with pandoc-citeproc, but I can't find a NixOS package for pandoc-citeproc. I see that there's a Haskell library for pandoc-citeproc in HaskellPackages. How can I combine a Pandoc binary which is installed system-wide with a Haskell library?

  • The Nix package for pandoc-citeproc is marked as an executable and a library. Also, the package depends on pandoc. Do you get the pandoc-citeproc executable when you install the package? – Emmanuel Rosa Sep 18 '18 at 8:44
  • Ah, I see. Pandoc-citeproc is in haskellPackages. Thanks! – Jonathan Sep 18 '18 at 15:57
4

I got this working by adding these lines to environment.systemPackages = with pkgs; [:

pandoc
haskellPackages.pandoc-citeproc
haskellPackages.pandoc-crossref

Still working on getting pandoc-crossref.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.