19 Aug 2024 |
| sparogy (he/him) left the room. | 12:07:16 |
| sparogy (he/him) joined the room. | 12:25:37 |
20 Aug 2024 |
| @a12l:matrix.org left the room. | 12:45:08 |
| @shymega:one.ems.host left the room. | 13:17:46 |
| alex left the room. | 19:34:41 |
| alex joined the room. | 19:43:06 |
21 Aug 2024 |
| ajustinlime joined the room. | 06:21:43 |
22 Aug 2024 |
| Artur Manuel joined the room. | 12:58:12 |
| Artur Manuel changed their profile picture. | 14:53:03 |
23 Aug 2024 |
Artur Manuel | Hey, I am trying to export PDF files with TeX in Emacs and one of the things I have done is add texliveTeTeX in my extraEmacsPackages. What I have encountered is it complaining about a missing pdflatex, despite the pdflatex binary being provided by Emacs. | 20:47:19 |
Artur Manuel | Is there any solution to this other than installing texlive on the host? | 20:47:47 |
Artur Manuel | Hey, I am trying to export PDF files with TeX in Emacs and one of the things I have done is add texliveTeTeX in my extraEmacsPackages. What I have encountered is it complaining about a missing pdflatex, despite the pdflatex binary being provided by Emacs extraEmacsPackages. | 20:49:12 |
Artur Manuel | the resulting export failure:
https://pb.atl.tools/?28f9382794c4755f#GCQqLXrfjA4y1q52UcpChbbyvmPvNWesin1E47msv5ka | 20:51:33 |
Artur Manuel | emacs overlay package:
https://pb.atl.tools/?33f6c34d79145370#9Va1HkqvKRsDQ3xgPzR6bLaLH3wDjdUQWU52gcWTbZdV | 20:53:06 |
24 Aug 2024 |
adisbladis | In reply to @asmundesen:matrix.org Is there any solution to this other than installing texlive on the host? extraEmacsPackages is, as the name implies, only for Emacs packages | 03:32:21 |
Artur Manuel | uf, i should have known | 03:33:03 |
adisbladis | Normally you'd patch the package to point to a nix store binary | 03:33:09 |
Artur Manuel | hm, this would mean using makeBinPath right? | 03:34:02 |
adisbladis | Either the Emacs package in question provides native stuff and you have to override the build to build those (see pdf-tools for prior art) | 03:34:45 |
adisbladis | Or you can point to the right path using setq | 03:34:56 |
adisbladis | Probably look at telega for that? | 03:35:07 |
Artur Manuel | both of those packages are under a libgenerated.nix file, im not the best person at navigating nixpkgs so i dont know too much about what you mean | 03:42:06 |
adisbladis | In reply to @asmundesen:matrix.org both of those packages are under a libgenerated.nix file, im not the best person at navigating nixpkgs so i dont know too much about what you mean We auto generate from package repositories, but then also supplement overrides when it doesn't just work out of the box | 03:43:55 |
adisbladis | https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix#L248-L282 | 03:43:59 |
adisbladis | https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix#L544-L570 | 03:44:29 |
adisbladis | I think the second link is more relevant for your case | 03:44:56 |
adisbladis | Look at the usage of substituteInPlace | 03:45:06 |
Artur Manuel | cheers 👍️ | 03:48:43 |
Artur Manuel | seems itll have to be substituted directly in emacs | 03:50:39 |
Artur Manuel | though probably in a patch phase since the el files that hold together will of course be compiled to make things fast | 03:51:38 |