[Nix-dev] pathExists

Marco Maggesi maggesi at math.unifi.it
Sat Feb 23 16:38:27 CET 2013


Hello,

I'm trying to create a pdf as follows

let
  pkgs = import <nixpkgs> {};
in
pkgs.texFunctions.runLaTeX {
 rootFile = ./strengthened.tex;
}

And I get the following error:

...
while evaluating the function at
`/Users/maggesi/Devel/nixpkgs/pkgs/tools/typesetting/tex/nix/default.nix:68:40':
while evaluating the builtin function `pathExists':
string `/nix/store/6x6mcjdj07kwxnhwmcy62slih3pdvkv8-HOAT/article.cls'
cannot refer to other paths

What does it mean "cannot refer to other paths" in this case?

Thanks?
Marco


More information about the nix-dev mailing list