From cc1a91078a6168176a9b359d4495b34ce88a77fd Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 7 Sep 2020 15:47:17 +0100 Subject: Drop support for building emacs.glinux I'm defining a fork of this function in my work configuration, so I longer want this here. --- emacs/.emacs.d/wpc/wpc-nix.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'emacs/.emacs.d/wpc/wpc-nix.el') 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 " 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 () -- cgit 1.4.1