about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 ()