Lorri does not cleanly integrate with my corporate device, which cannot run NixOS. To expose dependencies to Emacs buffers, I will use nix-buffer.el, which reads its values from dir-locals.nix. To easily expose dependencies from my existing shell.nix files into dir-locals.nix, I wrote a Nix utility function.
		
			
				
	
	
		
			3 lines
		
	
	
	
		
			91 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
	
		
			91 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
| let
 | |
|   briefcase = import <briefcase> {};
 | |
| in briefcase.utils.nixBufferFromShell ./shell.nix
 |