Fix nativeBuildInputs and add cross compilation target #10
@ -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