Skip to content

Instantly share code, notes, and snippets.

@kierdavis
Last active November 7, 2016 13:53
Show Gist options
  • Save kierdavis/d5bc52953cf03d59ffb6250c80d9645d to your computer and use it in GitHub Desktop.
Save kierdavis/d5bc52953cf03d59ffb6250c80d9645d to your computer and use it in GitHub Desktop.
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "my-texlive-env";
buildInputs = [
pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-basic;
}
];
}
# $ nix-shell --show-trace
# error: while evaluating the attribute ‘nativeBuildInputs’ of the derivation ‘my-texlive-env’ at /var/data/tmp/texlive-env/shell.nix:3:3:
# cannot coerce a function to a string, at /var/data/tmp/texlive-env/shell.nix:3:3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment