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:
parent
12b5a10b05
commit
cc1a91078a
1 changed files with 2 additions and 3 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Reference in a new issue