Adding texlive to default.nix in obelisk project


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?

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