Move attributes in ompss2 clang derivation to passthru
This commit is contained in:
		
							parent
							
								
									7b59ad8e65
								
							
						
					
					
						commit
						d1e43dba34
					
				@ -43,19 +43,21 @@ let
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  source = if (useGit) then git else release;
 | 
					  source = if (useGit) then git else release;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
in stdenv.mkDerivation rec {
 | 
					in stdenv.mkDerivation {
 | 
				
			||||||
  pname = "clang-ompss2";
 | 
					  pname = "clang-ompss2";
 | 
				
			||||||
  inherit (source) src version;
 | 
					  inherit (source) src version;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  enableParallelBuilding = true;
 | 
					  enableParallelBuilding = true;
 | 
				
			||||||
  isClang = true;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  passthru = {
 | 
					  passthru = {
 | 
				
			||||||
    CC = "clang";
 | 
					    CC = "clang";
 | 
				
			||||||
    CXX = "clang++";
 | 
					    CXX = "clang++";
 | 
				
			||||||
  };
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
  isClangWithOmpss = true;
 | 
					    isClang = true;
 | 
				
			||||||
 | 
					    isClangWithOmpss = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    inherit gcc zlib;
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  nativeBuildInputs = [
 | 
					  nativeBuildInputs = [
 | 
				
			||||||
    bash
 | 
					    bash
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user