nix-community / home-manager

Manage a user environment using Nix [maintainer=@rycee]
https://nix-community.github.io/home-manager/
MIT License
6.87k stars 1.79k forks source link

getting pdftools/epdfinfo to work with emacs #750

Closed matthuszagh closed 5 years ago

matthuszagh commented 5 years ago

Hello, i'm unable to get the epdfinfo server to work when installing pdf-tools with emacs. I'm currently setting pdf-tools in programs.emacs.extraPackages and although pdf-tools installs, the epdfinfo program is not built. Looking at the nixpkgs source code, it seems like the build there is correct. However i'm not sure how to use this recipe with home-manager. I don't think it's using this recipe because i don't see the same build inputs and other configuration options in the pdf-tools derivation. Is it possible to use this with home-manager? Forgive me if this is obvious, i'm just a few days into nix...

rycee commented 5 years ago

I think this is an issue more suited for Nixpkgs since Home Manager doesn't do anything special with Emacs packages, it just directly uses the Nixpkgs infrastructure.

I've previously seen people having difficulties with pdf-tools, for example https://github.com/NixOS/nixpkgs/issues/33296, but since I don't use it myself I don't know any details.

matthuszagh commented 5 years ago

Ok I'll check over there. Thanks for the response!