about summary refs log tree commit diff
path: root/emacs/.emacs.d/wpc
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-09-07T14·47+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-09-07T14·47+0100
commitcc1a91078a6168176a9b359d4495b34ce88a77fd (patch)
tree21472995b5a05f60e227903c87edb95a8d68f6b7 /emacs/.emacs.d/wpc
parent12b5a10b050c60cc4845e85284f1016cd0366838 (diff)
Drop support for building emacs.glinux
I'm defining a fork of this function in my work configuration, so I longer want
this here.
Diffstat (limited to 'emacs/.emacs.d/wpc')
-rw-r--r--emacs/.emacs.d/wpc/wpc-nix.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/emacs/.emacs.d/wpc/wpc-nix.el b/emacs/.emacs.d/wpc/wpc-nix.el
index 8260122cfdf8..0f2a1a63615b 100644
--- a/emacs/.emacs.d/wpc/wpc-nix.el
+++ b/emacs/.emacs.d/wpc/wpc-nix.el
@@ -28,13 +28,12 @@
 (defun wpc-nix-rebuild-emacs ()
   "Use nix-env to rebuild wpcarros-emacs."
   (interactive)
-  (let* ((emacs (if (device-corporate?) "emacs.glinux" "emacs.nixos"))
-         (pname (format "nix-build <briefcase/%s>" emacs))
+  (let* ((pname (format "nix-build <briefcase/emacs.nixos>"))
          (bname (format "*%s*" pname)))
     (start-process pname bname
                    "nix-env"
                    "-I" (format "briefcase=%s" constants-briefcase)
-                   "-f" "<briefcase>" "-iA" emacs)
+                   "-f" "<briefcase>" "-iA" "emacs.nixos")
     (display-buffer bname)))
 
 (defun wpc-nix-home-manager-switch ()