Fix nativeBuildInputs and add cross compilation target #10
@ -43,20 +43,22 @@ let
 | 
			
		||||
 | 
			
		||||
  source = if (useGit) then git else release;
 | 
			
		||||
 | 
			
		||||
in stdenv.mkDerivation rec {
 | 
			
		||||
in stdenv.mkDerivation {
 | 
			
		||||
  pname = "clang-ompss2";
 | 
			
		||||
  inherit (source) src version;
 | 
			
		||||
 | 
			
		||||
  enableParallelBuilding = true;
 | 
			
		||||
  isClang = true;
 | 
			
		||||
 | 
			
		||||
  passthru = {
 | 
			
		||||
    CC = "clang";
 | 
			
		||||
    CXX = "clang++";
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
    isClang = true;
 | 
			
		||||
    isClangWithOmpss = true;
 | 
			
		||||
 | 
			
		||||
    inherit gcc zlib;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  nativeBuildInputs = [
 | 
			
		||||
    bash
 | 
			
		||||
    cmake
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user