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 ./.;
 | 
			
		||||
 | 
			
		||||
          buildInputs =
 | 
			
		||||
            [ rustc
 | 
			
		||||
              cargo
 | 
			
		||||
              openssl
 | 
			
		||||
            [ openssl
 | 
			
		||||
              pkg-config
 | 
			
		||||
            ] ++ (if inShell then [
 | 
			
		||||
              # In 'nix develop', provide some developer tools.
 | 
			
		||||
              rust-analyzer
 | 
			
		||||
              rustfmt
 | 
			
		||||
              rustup
 | 
			
		||||
              clippy
 | 
			
		||||
            ] else [
 | 
			
		||||
              rustc
 | 
			
		||||
              cargo
 | 
			
		||||
              (import-cargo.builders.importCargo {
 | 
			
		||||
                lockFile = ./Cargo.lock;
 | 
			
		||||
                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