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
 | 
			
		||||
  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
 | 
			
		||||
  emacsBinPath = lib.makeBinPath [ pkgs.emacsPackages.telega ];
 | 
			
		||||
  emacsBinPath = lib.makeBinPath [ (currentTelega pkgs.emacsPackages) ];
 | 
			
		||||
 | 
			
		||||
  identity = x: x;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -75,7 +79,6 @@ let
 | 
			
		|||
    sly
 | 
			
		||||
    string-edit
 | 
			
		||||
    swiper
 | 
			
		||||
    telega
 | 
			
		||||
    telephone-line
 | 
			
		||||
    terraform-mode
 | 
			
		||||
    toml-mode
 | 
			
		||||
| 
						 | 
				
			
			@ -91,6 +94,9 @@ let
 | 
			
		|||
    yaml-mode
 | 
			
		||||
    yasnippet
 | 
			
		||||
 | 
			
		||||
    # Wonky stuff
 | 
			
		||||
    (currentTelega epkgs)
 | 
			
		||||
 | 
			
		||||
    # Custom depot packages (either ours, or overridden ones)
 | 
			
		||||
    tvlPackages.dottime
 | 
			
		||||
    tvlPackages.nix-util
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue