put the whole rust toolchain into one package so Rider can handle it
This commit is contained in:
		
							parent
							
								
									051dbfabea
								
							
						
					
					
						commit
						34ca374e14
					
				
					 1 changed files with 21 additions and 13 deletions
				
			
		
							
								
								
									
										34
									
								
								shell.nix
									
										
									
									
									
								
							
							
						
						
									
										34
									
								
								shell.nix
									
										
									
									
									
								
							|  | @ -1,16 +1,24 @@ | ||||||
| {pkgs ? import <nixpkgs> {}}: | {pkgs ? import <nixpkgs> {}}: let | ||||||
| pkgs.mkShell { |   rust-toolchain = pkgs.symlinkJoin { | ||||||
|   nativeBuildInputs = with pkgs.buildPackages; [ |     name = "rust-toolchain"; | ||||||
|     rustc cargo gcc rustfmt clippy |     paths = with pkgs; [rustc cargo rustPlatform.rustcSrc rustfmt clippy]; | ||||||
|  |   }; | ||||||
|  | in | ||||||
|  |   pkgs.mkShell { | ||||||
|  |     nativeBuildInputs = with pkgs.buildPackages; [ | ||||||
|  |       rust-toolchain | ||||||
| 
 | 
 | ||||||
|     pkg-config |       pkg-config | ||||||
|     xe |       xe | ||||||
|     lzma |       lzma | ||||||
|     cargo-tarpaulin |  | ||||||
|     gnumake |  | ||||||
| 
 | 
 | ||||||
|     # dotnet-sdk_8 |       cargo-tarpaulin | ||||||
|   ]; |  | ||||||
| 
 | 
 | ||||||
|   RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; |       gcc | ||||||
| } |       gnumake | ||||||
|  | 
 | ||||||
|  |       # dotnet-sdk_8 | ||||||
|  |     ]; | ||||||
|  | 
 | ||||||
|  |     RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}"; | ||||||
|  |   } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vinzenz Schroeter
						Vinzenz Schroeter