about summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/default.nix7
1 files changed, 2 insertions, 5 deletions
diff --git a/emacs/default.nix b/emacs/default.nix
index f7f7463e56b3..e8d52c34cc9d 100644
--- a/emacs/default.nix
+++ b/emacs/default.nix
@@ -138,17 +138,14 @@ let
     export XMODIFIERS=emacs
     export BRIEFCASE=$HOME/briefcase
     export PATH="${emacsBinPath}:$PATH"
-    export EMACSLOADPATH="${wpcarrosEmacs.deps}/share/emacs/site-lisp:"
+    export EMACSLOADPATH="${wpcDir}:${vendorDir}:${wpcarrosEmacs.deps}/share/emacs/site-lisp:"
     exec ${emacsBin} \
       --debug-init \
       --no-site-file \
       --no-site-lisp \
-      --directory ${vendorDir} \
-      --directory ${wpcDir} \
-      --load ${wpcPackageEl} \
       --load ${initEl} \
       --no-init-file \
-      $@
+      "$@"
   '';
 in {
   # Use `nix-env -f '<briefcase>' emacs.glinux` to install `wpcarro-emacs` on