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 ()
"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 ()