nicferrier / elnode

evented io webserver right inside your emacs.
http://nicferrier.github.com/elnode
GNU General Public License v3.0
477 stars 48 forks source link

hardcoded binary path #103

Open spiderbit opened 7 years ago

spiderbit commented 7 years ago

Inside nixos when the webserver tries to serve files it does not find the "/bin/cat" binary it apperently uses for that.

(setq elnode-send-file-program (locate-file "cat" exec-path)) (setq elnode-send-file-program "cat")

that or that solves that problem dont know which is the better fix, but both would be better than having a absolute path.

Reasonable-Solutions commented 6 years ago

came here to make a pr on that. Also a nixos user

imho, elnode-send-file-program "cat" is sufficient. not having cat in /bin/ is pretty normal, not having coreutils things in the path is much weirder.