New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pdf-tools doesn't build epdfinfo binary #33296
Comments
So I use a different strategy; I'm not sure why it works and yours doesn't. Reducing it to its bare minimum, I would summarize your strategy as:
If you then do However, for my own use, I maintain an overlay for my emacs stuff. If I reduce it down to the simplest thing I can, I end up with the just slightly different:
and do the equivalent investigation, I've got a I just flat-out don't know the nix language (or the functions in question) well enough to understand the subtle difference here. All I can tell you is that one works and the other doesn't. @ttuegel I think you're the original author. Do you perhaps have any insight? |
I'm really not sure. I would start by comparing the output of |
Same thing as #28468?
The problem, I assume, is that autogenerated `melpaPackages` don't try to compile any binaries.
I don't think this is easily fixable in the generator.
I would just override `melpaPackages.pdf-tools` with a part of the expression from `emacs-packages.nix`.
|
Yep, that's what the overrides are for. I don't want the generator to worry much about anything besides fetching packages and identifying dependencies. |
I just had a similar issue with I had to use So, I suspect that |
This issue has been fixed as a part of #65874 |
Is this issue really resolved as of now? |
You should use
|
so the NixOS way of doing things doesn't work? https://nixos.org/manual/nixos/stable/index.html#module-services-emacs-adding-packages I just changed the way I did things and the effect is really different so I'm suspecting the result to be different as well! |
It didn't resolve the issue. |
@adisbladis how did you get pdf-tool working, do you have a config you could share? |
Issue description
With my emacs configuration:
I get an emacs-pdf-tools directory under
/nix/store
, but his doesn't contain the necessaryepdfinfo
binary.Steps to reproduce
See above.
Technical details
"x86_64-linux"
Linux 4.9.71, NixOS, 18.03pre123588.ade98dc442e (Impala)
yes
yes
nix-env (Nix) 1.11.16
"nixos-18.03pre123588.ade98dc442e"
/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
The text was updated successfully, but these errors were encountered: