diff options
author | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2013-10-19 21:06:26 +0200 |
---|---|---|
committer | Evgeny Egorochkin <phreedom@yandex.ru> | 2013-10-22 09:56:43 +0300 |
commit | 351c9e310d04e38ae87e0e37ab82de61b319d043 (patch) | |
tree | 283c7d747d86f785ec968999f772ed28e330a8e5 /pkgs/applications/editors | |
parent | 23479e1e25b3fee4483db1cee1164dd55260a64f (diff) | |
download | nixlib-351c9e310d04e38ae87e0e37ab82de61b319d043.tar nixlib-351c9e310d04e38ae87e0e37ab82de61b319d043.tar.gz nixlib-351c9e310d04e38ae87e0e37ab82de61b319d043.tar.bz2 nixlib-351c9e310d04e38ae87e0e37ab82de61b319d043.tar.lz nixlib-351c9e310d04e38ae87e0e37ab82de61b319d043.tar.xz nixlib-351c9e310d04e38ae87e0e37ab82de61b319d043.tar.zst nixlib-351c9e310d04e38ae87e0e37ab82de61b319d043.zip |
Emacs: Fix TRAMP by adjusting its path so that it finds ls and other binaries on NixOS systems
Close #1094.
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/emacs-24/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/editors/emacs-24/default.nix b/pkgs/applications/editors/emacs-24/default.nix index 0dcb585e12e9..18e263dae67e 100644 --- a/pkgs/applications/editors/emacs-24/default.nix +++ b/pkgs/applications/editors/emacs-24/default.nix @@ -46,11 +46,12 @@ stdenv.mkDerivation rec { (append (reverse (mapcar (lambda (x) (concat x "/share/emacs/site-lisp/")) (split-string (getenv "NIX_PROFILES")))) load-path))) + + ;; make tramp work for NixOS machines + (eval-after-load 'tramp '(add-to-list 'tramp-remote-path "/run/current-system/sw/bin")) EOF ''; - - doCheck = true; meta = with stdenv.lib; { |