Drop support for building emacs.glinux

I'm defining a fork of this function in my work configuration, so I longer want
this here.
This commit is contained in:
William Carroll 2020-09-07 15:47:17 +01:00
parent 12b5a10b05
commit cc1a91078a

View file

@ -28,13 +28,12 @@
(defun wpc-nix-rebuild-emacs () (defun wpc-nix-rebuild-emacs ()
"Use nix-env to rebuild wpcarros-emacs." "Use nix-env to rebuild wpcarros-emacs."
(interactive) (interactive)
(let* ((emacs (if (device-corporate?) "emacs.glinux" "emacs.nixos")) (let* ((pname (format "nix-build <briefcase/emacs.nixos>"))
(pname (format "nix-build <briefcase/%s>" emacs))
(bname (format "*%s*" pname))) (bname (format "*%s*" pname)))
(start-process pname bname (start-process pname bname
"nix-env" "nix-env"
"-I" (format "briefcase=%s" constants-briefcase) "-I" (format "briefcase=%s" constants-briefcase)
"-f" "<briefcase>" "-iA" emacs) "-f" "<briefcase>" "-iA" "emacs.nixos")
(display-buffer bname))) (display-buffer bname)))
(defun wpc-nix-home-manager-switch () (defun wpc-nix-home-manager-switch ()