aaphoto: fix darwin build

Add the llvm openmp for building.

authored by Stanisław Pitucha and committed by Anderson Torres 4ae95d78 5f2fd25d

+5 -1
+5 -1
pkgs/tools/graphics/aaphoto/default.nix
··· 5 5 , libpng 6 6 , libjpeg 7 7 , zlib 8 + , llvmPackages 8 9 }: 9 10 10 11 stdenv.mkDerivation rec { ··· 15 16 url = "http://log69.com/downloads/aaphoto_sources_${version}.tar.gz"; 16 17 sha256 = "sha256-06koJM7jNVFqVgqg6BmOZ74foqk6yjUIFnwULzPZ4go="; 17 18 }; 19 + 20 + nativeBuildInputs = lib.optionals stdenv.cc.isClang [ 21 + llvmPackages.openmp 22 + ]; 18 23 19 24 buildInputs = [ 20 25 jasper ··· 43 48 license = licenses.gpl3Plus; 44 49 maintainers = with maintainers; [ AndersonTorres ]; 45 50 platforms = platforms.unix; 46 - broken = stdenv.isDarwin; # aaphoto.c:237:10: fatal error: 'omp.h' file not found 47 51 }; 48 52 }