Use rustup for nightly, so we can download from menteeth registry.
				
					
				
			This commit is contained in:
		
							parent
							
								
									aa5aaf816f
								
							
						
					
					
						commit
						9dba835bcf
					
				
					 3 changed files with 14 additions and 3 deletions
				
			
		
							
								
								
									
										8
									
								
								.cargo/config.toml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								.cargo/config.toml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,8 @@
 | 
				
			||||||
 | 
					[unstable]
 | 
				
			||||||
 | 
					registry-auth = true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[registries.menteeth]
 | 
				
			||||||
 | 
					index = "ssh://git@git.shipyard.rs/menteeth/crate-index.git"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					[net]
 | 
				
			||||||
 | 
					git-fetch-with-cli = true
 | 
				
			||||||
| 
						 | 
					@ -37,16 +37,17 @@
 | 
				
			||||||
          src = if inShell then null else ./.;
 | 
					          src = if inShell then null else ./.;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
          buildInputs =
 | 
					          buildInputs =
 | 
				
			||||||
            [ rustc
 | 
					            [ openssl
 | 
				
			||||||
              cargo
 | 
					 | 
				
			||||||
              openssl
 | 
					 | 
				
			||||||
              pkg-config
 | 
					              pkg-config
 | 
				
			||||||
            ] ++ (if inShell then [
 | 
					            ] ++ (if inShell then [
 | 
				
			||||||
              # In 'nix develop', provide some developer tools.
 | 
					              # In 'nix develop', provide some developer tools.
 | 
				
			||||||
              rust-analyzer
 | 
					              rust-analyzer
 | 
				
			||||||
              rustfmt
 | 
					              rustfmt
 | 
				
			||||||
 | 
					              rustup
 | 
				
			||||||
              clippy
 | 
					              clippy
 | 
				
			||||||
            ] else [
 | 
					            ] else [
 | 
				
			||||||
 | 
					              rustc
 | 
				
			||||||
 | 
					              cargo
 | 
				
			||||||
              (import-cargo.builders.importCargo {
 | 
					              (import-cargo.builders.importCargo {
 | 
				
			||||||
                lockFile = ./Cargo.lock;
 | 
					                lockFile = ./Cargo.lock;
 | 
				
			||||||
                inherit pkgs;
 | 
					                inherit pkgs;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										2
									
								
								rust-toolchain.toml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								rust-toolchain.toml
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,2 @@
 | 
				
			||||||
 | 
					[toolchain]
 | 
				
			||||||
 | 
					channel = "nightly-2023-04-30"
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue