mirror of
				https://github.com/wlcx/nix-templates.git
				synced 2025-11-03 20:03:45 +00:00 
			
		
		
		
	Add basic devshell template
This commit is contained in:
		
							parent
							
								
									7422dcaf19
								
							
						
					
					
						commit
						85999ed2cf
					
				
							
								
								
									
										1
									
								
								devshell/.envrc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								devshell/.envrc
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					use flake
 | 
				
			||||||
							
								
								
									
										17
									
								
								devshell/flake.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								devshell/flake.nix
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,17 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  description = "A basic flake from samw";
 | 
				
			||||||
 | 
					  inputs = {
 | 
				
			||||||
 | 
					    utils.url = "github:numtide/flake-utils";
 | 
				
			||||||
 | 
					    devshell.url = "github:numtide/devshell";
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					  outputs = { self, nixpkgs, utils, devshell }:
 | 
				
			||||||
 | 
					    utils.lib.eachDefaultSystem (system: {
 | 
				
			||||||
 | 
					      devShell = let
 | 
				
			||||||
 | 
					        pkgs = import nixpkgs {
 | 
				
			||||||
 | 
					          inherit system;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					          overlays = [ devshell.overlay ];
 | 
				
			||||||
 | 
					        };
 | 
				
			||||||
 | 
					      in pkgs.devshell.mkShell { packages = with pkgs; [ ]; };
 | 
				
			||||||
 | 
					    });
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user