default.nix seems to be a significant name
This commit is contained in:
		
							parent
							
								
									ed65a762f2
								
							
						
					
					
						commit
						de317057a3
					
				
					 3 changed files with 6 additions and 0 deletions
				
			
		
							
								
								
									
										17
									
								
								pkgs/dvd/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								pkgs/dvd/default.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,17 @@
 | 
			
		|||
{
 | 
			
		||||
  lib,
 | 
			
		||||
  stdenv,
 | 
			
		||||
  direnv,
 | 
			
		||||
  writeShellApplication,
 | 
			
		||||
}:
 | 
			
		||||
writeShellApplication
 | 
			
		||||
{
 | 
			
		||||
  name = "dvd";
 | 
			
		||||
 | 
			
		||||
  runtimeInputs = [echo direnv];
 | 
			
		||||
 | 
			
		||||
  text = ''
 | 
			
		||||
    echo "use flake \"github:the-nix-way/dev-templates?dir=$1\"" >> .envrc
 | 
			
		||||
    direnv allow
 | 
			
		||||
  '';
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue