mirror of
				https://github.com/wlcx/nix-templates.git
				synced 2025-11-04 04:13:45 +00:00 
			
		
		
		
	Update devshell outputs to devShells.default
				
					
				
			This commit is contained in:
		
							parent
							
								
									20d20aff9d
								
							
						
					
					
						commit
						f93062025f
					
				@ -6,7 +6,7 @@
 | 
				
			|||||||
  };
 | 
					  };
 | 
				
			||||||
  outputs = { self, nixpkgs, utils, devshell }:
 | 
					  outputs = { self, nixpkgs, utils, devshell }:
 | 
				
			||||||
    utils.lib.eachDefaultSystem (system: {
 | 
					    utils.lib.eachDefaultSystem (system: {
 | 
				
			||||||
      devShell = let
 | 
					      devShells.default = let
 | 
				
			||||||
        pkgs = import nixpkgs {
 | 
					        pkgs = import nixpkgs {
 | 
				
			||||||
          inherit system;
 | 
					          inherit system;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -28,7 +28,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        apps.default = utils.lib.mkApp { drv = packages.default; };
 | 
					        apps.default = utils.lib.mkApp { drv = packages.default; };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        devShell =
 | 
					        devShells.default =
 | 
				
			||||||
          pkgs.devshell.mkShell { packages = with pkgs; [ go gopls ]; };
 | 
					          pkgs.devshell.mkShell { packages = with pkgs; [ go gopls ]; };
 | 
				
			||||||
      });
 | 
					      });
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -30,7 +30,7 @@
 | 
				
			|||||||
        apps.default = utils.lib.mkApp { drv = packages.default; };
 | 
					        apps.default = utils.lib.mkApp { drv = packages.default; };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        # Provide a dev env with rust and rls
 | 
					        # Provide a dev env with rust and rls
 | 
				
			||||||
        devShell = let
 | 
					        devShells.default = let
 | 
				
			||||||
          pkgs = import nixpkgs {
 | 
					          pkgs = import nixpkgs {
 | 
				
			||||||
            inherit system;
 | 
					            inherit system;
 | 
				
			||||||
            overlays = [ devshell.overlay ];
 | 
					            overlays = [ devshell.overlay ];
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user