Hello Nicolas! > I then suggest to add `texlive-fontspec' (a few kB) instead of `texlive' > (3 GB) to the inputs. Thanks, that worked out indeed. I've added other LaTeX packages as well, searching by the required ".sty" files. But then, I ran into the following error: --8<---------------cut here---------------start------------->8--- Package rerunfilecheck Info: Checksums for `sparc.out': (rerunfilecheck) Before: (rerunfilecheck) After: 8A9E5CFD2193CCDADFE90D96E3F45333;20690. runsystem(rm sparc.pyg)...executed. ) Here is how much of TeX's memory you used: 66386 strings out of 476682 1790478 string characters out of 5779954 2503753 words of memory out of 5000000 84784 multiletter control sequences out of 15000+600000 516911 words of font info for 97 fonts, out of 8000000 for 9000 1348 hyphenation exceptions out of 8191 94i,16n,92p,2254b,2061s stack positions out of 10000i,1000n,20000p,200000b,200000s Output written on sparc.xdv (133 pages, 2587352 bytes). GLOSSARY sparc INDEX sparc /gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin/sh: /gnu/store/05770yhxad3d3p4q7rgw8clh0y1gi5sc-texlive-glossaries-66594/bin/makeglossaries: /usr/bin/env: bad interpreter: No such file or directory make: *** [Makefile:77: make_glossary] Error 1 make: *** Waiting for unfinished jobs.... --8<---------------cut here---------------end--------------->8--- It looks like "makeglossaries" cannot find "/usr/bin/env" program. I checked where "env" can be found inside the builder context: --8<---------------cut here---------------start------------->8--- (arguments (list #:phases #~(modify-phases %standard-phases (add-after 'unpack 'debug (lambda _ (invoke "which" "env"))) --8<---------------cut here---------------end--------------->8--- And the full path is: /gnu/store/yr39rh6wihd1wv6gzf7w4w687dwzf3vb-coreutils-9.1/bin/env But "makeglossaries" script seems to have a wrong path: --8<---------------cut here---------------start------------->8--- $ head -1 /gnu/store/05770yhxad3d3p4q7rgw8clh0y1gi5sc-texlive-glossaries-66594/bin/makeglossaries #!/usr/bin/env perl --8<---------------cut here---------------end--------------->8--- Maybe there should be a symlink to "/bin/env" or something. Strangely enough when I add "texlive" to the inputs, the problem is gone. Any ideas? Thanks! - avp -- Artyom "avp" Poptsov Home page: https://memory-heap.org/~avp/ CADR Hackerspace co-founder: https://cadrspace.ru/ GPG: D0C2 EAC1 3310 822D 98DE B57C E9C5 A2D9 0898 A02F