Add Scala environment
This commit is contained in:
		
							parent
							
								
									58ace59505
								
							
						
					
					
						commit
						7a7d428131
					
				
					 10 changed files with 107 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -20,7 +20,7 @@
 | 
			
		|||
 | 
			
		||||
        rust = pkgs.rust-bin.fromRustupToolchainFile ./rust-toolchain.toml;
 | 
			
		||||
 | 
			
		||||
        helpers = with pkgs; [ pkg-config ];
 | 
			
		||||
        helpers = with pkgs; [ openssl pkg-config ];
 | 
			
		||||
 | 
			
		||||
        inherit (pkgs) mkShell;
 | 
			
		||||
        inherit (pkgs.lib) optionals;
 | 
			
		||||
| 
						 | 
				
			
			@ -30,15 +30,10 @@
 | 
			
		|||
 | 
			
		||||
        devShells = {
 | 
			
		||||
          default = mkShell {
 | 
			
		||||
            nativeBuildInputs = [
 | 
			
		||||
            buildInputs = [
 | 
			
		||||
              rust
 | 
			
		||||
            ] ++ helpers;
 | 
			
		||||
 | 
			
		||||
            buildInputs = with pkgs; [
 | 
			
		||||
              openssl
 | 
			
		||||
              pkgconfig
 | 
			
		||||
            ];
 | 
			
		||||
 | 
			
		||||
            shellHook = ''
 | 
			
		||||
              ${rust}/bin/cargo --version
 | 
			
		||||
            '';
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue