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 ()
 | 
					(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 ()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue