llvm7: patch test shebang (otherwise test fails)

This commit is contained in:
Will Dietz 2018-09-18 14:35:21 -05:00
parent bb110d80fc
commit b7692f5be5

View file

@ -59,6 +59,8 @@ in stdenv.mkDerivation (rec {
substituteInPlace unittests/Support/CMakeLists.txt \
--replace "add_subdirectory(DynamicLibrary)" ""
rm unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp
'' + ''
patchShebangs test/BugPoint/compile-custom.ll.py
'';
# hacky fix: created binaries need to be run before installation