isaacr
December 20, 2020, 4:46pm
1
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:
{ system ? builtins.currentSystem
, obelisk ? import ./.obelisk/impl {
inherit system;
iosSdkVersion = "13.2";
# You must accept the Android Software Development Kit License Agreement at
# https://developer.android.com/studio/terms in order to build Android apps.
# Uncomment and set this to `true` to indicate your acceptance:
# config.android_sdk.accept_license = false;
# In order to use Let's Encrypt for HTTPS deployments you must accept
# their terms of service at https://letsencrypt.org/repository/.
# Uncomment and set this to `true` to indicate your acceptance:
# terms.security.acme.acceptTerms = false;
}
}:
with obelisk;
project ./. ({ ... }: {
android.applicationId = "systems.obsidian.obelisk.examples.minimal";
android.displayName = "Obelisk Minimal Example";
This file has been truncated. show original
Thanks!