Adding texlive to default.nix in obelisk project

Hi!

I’m very much a nix beginner, and have some basic experience using it with an Obelisk project, primarily for installing libraries for haskell.

I now need to install xelatex in my environment, since it’s a dependency for makePDF in Pandoc. Right now running makePDF throws an error saying that “xelatex” was not found.

How would I add this nix package as in my default.nix?
https://nixos.wiki/wiki/TexLive

Here’s a skeleton default.nix for obelisk projects:

Thanks!