diff --git a/emacs/.emacs.d/wpc/wpc-nix.el b/emacs/.emacs.d/wpc/wpc-nix.el index 8260122cf..0f2a1a636 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 " emacs)) + (let* ((pname (format "nix-build ")) (bname (format "*%s*" pname))) (start-process pname bname "nix-env" "-I" (format "briefcase=%s" constants-briefcase) - "-f" "" "-iA" emacs) + "-f" "" "-iA" "emacs.nixos") (display-buffer bname))) (defun wpc-nix-home-manager-switch ()