about summary refs log tree commit diff
path: root/users/tazjin
diff options
context:
space:
mode:
Diffstat (limited to 'users/tazjin')
-rw-r--r--users/tazjin/emacs/default.nix15
1 files changed, 0 insertions, 15 deletions
diff --git a/users/tazjin/emacs/default.nix b/users/tazjin/emacs/default.nix
index a7dcd4504876..f513939197e7 100644
--- a/users/tazjin/emacs/default.nix
+++ b/users/tazjin/emacs/default.nix
@@ -154,21 +154,6 @@ pkgs.makeOverridable
           # `local.el` which provides local system configuration.
           withLocalConfig = confDir: self confDir f;
 
-          # Build a derivation that uses the specified local Emacs (i.e.
-          # built outside of Nix) instead
-          withLocalEmacs = emacsBin: pkgs.writeShellScriptBin "tazjins-emacs" ''
-            export PATH="${emacsBinPath}:$PATH"
-            export EMACSLOADPATH="${(tazjinsEmacs f).deps}/share/emacs/site-lisp:"
-            exec ${emacsBin} \
-              --debug-init \
-              --no-site-file \
-              --no-site-lisp \
-              --no-init-file \
-              --directory ${./config} \
-              ${if l != null then "--directory ${l}" else ""} \
-              --eval "(require 'init)" $@
-          '';
-
           # Expose telega/tdlib version check as a target that is built in
           # CI.
           #