!ZmUSesoOjmVsKbzFbp:nixos.org

Nix Emacs

747 Members
All things Nix/Emacs! https://github.com/nix-community/emacs-overlay | For Doom Emacs: https://matrix.to/#/#doom-emacs:nixos.org170 Servers

Load older messages


SenderMessageTime
19 Aug 2024
@andrew:afontaine.devsparogy (he/him) left the room.12:07:16
@andrew:afontaine.devsparogy (he/him) joined the room.12:25:37
20 Aug 2024
@a12l:matrix.org@a12l:matrix.org left the room.12:45:08
@shymega:one.ems.host@shymega:one.ems.host left the room.13:17:46
@alex:acrawford.comalex left the room.19:34:41
@alex:acrawford.comalex joined the room.19:43:06
21 Aug 2024
@ajustinlime:matrix.orgajustinlime joined the room.06:21:43
22 Aug 2024
@asmundesen:matrix.orgArtur Manuel joined the room.12:58:12
@asmundesen:matrix.orgArtur Manuel changed their profile picture.14:53:03
23 Aug 2024
@asmundesen:matrix.orgArtur ManuelHey, 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
@asmundesen:matrix.orgArtur ManuelIs there any solution to this other than installing texlive on the host?20:47:47
@asmundesen:matrix.orgArtur 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
@asmundesen:matrix.orgArtur Manuelthe resulting export failure: https://pb.atl.tools/?28f9382794c4755f#GCQqLXrfjA4y1q52UcpChbbyvmPvNWesin1E47msv5ka20:51:33
@asmundesen:matrix.orgArtur Manuelemacs overlay package: https://pb.atl.tools/?33f6c34d79145370#9Va1HkqvKRsDQ3xgPzR6bLaLH3wDjdUQWU52gcWTbZdV20:53:06
24 Aug 2024
@adis:blad.isadisbladis
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
@asmundesen:matrix.orgArtur Manueluf, i should have known03:33:03
@adis:blad.isadisbladisNormally you'd patch the package to point to a nix store binary03:33:09
@asmundesen:matrix.orgArtur Manuelhm, this would mean using makeBinPath right?03:34:02
@adis:blad.isadisbladisEither 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
@adis:blad.isadisbladis Or you can point to the right path using setq 03:34:56
@adis:blad.isadisbladisProbably look at telega for that?03:35:07
@asmundesen:matrix.orgArtur Manuelboth 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 mean03:42:06
@adis:blad.isadisbladis
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
@adis:blad.isadisbladishttps://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix#L248-L28203:43:59
@adis:blad.isadisbladishttps://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix#L544-L57003:44:29
@adis:blad.isadisbladisI think the second link is more relevant for your case03:44:56
@adis:blad.isadisbladis Look at the usage of substituteInPlace 03:45:06
@asmundesen:matrix.orgArtur Manuelcheers 👍️03:48:43
@asmundesen:matrix.orgArtur Manuelseems itll have to be substituted directly in emacs03:50:39
@asmundesen:matrix.orgArtur 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

Show newer messages


Back to Room ListRoom Version: 6