···35353636 propagatedBuildInputs = [ ncurses zlib ];
37373838+ # Fix a segfault in llc
3939+ # See http://lists.llvm.org/pipermail/llvm-dev/2016-October/106500.html
4040+ patches = [ ./D17533-1.patch ];
4141+3842 # hacky fix: New LLVM releases require a newer OS X SDK than
3943 # 10.9. This is a temporary measure until nixpkgs darwin support is
4044 # updated.
4141- patchPhase = stdenv.lib.optionalString stdenv.isDarwin ''
4545+ postPatch = stdenv.lib.optionalString stdenv.isDarwin ''
4246 sed -i 's/os_trace(\(.*\)");$/printf(\1\\n");/g' ./projects/compiler-rt/lib/sanitizer_common/sanitizer_mac.cc
4347 '';
4448