fix(tazjin/emacs): Use telega from MELPA
The stable versions are too old to be compatible with nixpkgs-unstable Change-Id: I8edb125024460f605ff640cd486779877fa0d256
This commit is contained in:
		
							parent
							
								
									db117176f2
								
							
						
					
					
						commit
						0fbd6f0aeb
					
				
					 1 changed files with 8 additions and 2 deletions
				
			
		| 
						 | 
					@ -13,8 +13,12 @@ pkgs.makeOverridable({ emacs ? pkgs.emacsGcc }:
 | 
				
			||||||
let
 | 
					let
 | 
				
			||||||
  emacsWithPackages = (pkgs.emacsPackagesGen emacs).emacsWithPackages;
 | 
					  emacsWithPackages = (pkgs.emacsPackagesGen emacs).emacsWithPackages;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # If switching telega versions, use this variable because it will
 | 
				
			||||||
 | 
					  # keep the version check, binary path and so on in sync.
 | 
				
			||||||
 | 
					  currentTelega = epkgs: epkgs.melpaPackages.telega;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # $PATH for binaries that need to be available to Emacs
 | 
					  # $PATH for binaries that need to be available to Emacs
 | 
				
			||||||
  emacsBinPath = lib.makeBinPath [ pkgs.emacsPackages.telega ];
 | 
					  emacsBinPath = lib.makeBinPath [ (currentTelega pkgs.emacsPackages) ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  identity = x: x;
 | 
					  identity = x: x;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -75,7 +79,6 @@ let
 | 
				
			||||||
    sly
 | 
					    sly
 | 
				
			||||||
    string-edit
 | 
					    string-edit
 | 
				
			||||||
    swiper
 | 
					    swiper
 | 
				
			||||||
    telega
 | 
					 | 
				
			||||||
    telephone-line
 | 
					    telephone-line
 | 
				
			||||||
    terraform-mode
 | 
					    terraform-mode
 | 
				
			||||||
    toml-mode
 | 
					    toml-mode
 | 
				
			||||||
| 
						 | 
					@ -91,6 +94,9 @@ let
 | 
				
			||||||
    yaml-mode
 | 
					    yaml-mode
 | 
				
			||||||
    yasnippet
 | 
					    yasnippet
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # Wonky stuff
 | 
				
			||||||
 | 
					    (currentTelega epkgs)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Custom depot packages (either ours, or overridden ones)
 | 
					    # Custom depot packages (either ours, or overridden ones)
 | 
				
			||||||
    tvlPackages.dottime
 | 
					    tvlPackages.dottime
 | 
				
			||||||
    tvlPackages.nix-util
 | 
					    tvlPackages.nix-util
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue