From 804b7fbe73152ee19c585f388ad2aaf3cde15134 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 29 Aug 2023 17:04:38 +0300 Subject: chore(tazjin/emacs): remove withLocalEmacs I only wrote this as a hack to make my Emacs config run on gLinux, but that isn't relevant anymore. Change-Id: I19c49d500e0ec75bb85644d25a63b0b6c530aa62 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9165 Tested-by: BuildkiteCI Reviewed-by: tazjin --- users/tazjin/emacs/default.nix | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'users/tazjin/emacs') 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. # -- cgit 1.4.1