llvm_4: refactor patch location, will be sharing shortly
This commit is contained in:
parent
68351290ad
commit
ebcdd8b9b0
@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||||||
./xlocale-glibc-2.26.patch
|
./xlocale-glibc-2.26.patch
|
||||||
] ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [
|
] ++ stdenv.lib.optionals stdenv.hostPlatform.isMusl [
|
||||||
../../libcxx-0001-musl-hacks.patch
|
../../libcxx-0001-musl-hacks.patch
|
||||||
./max_align_t.patch
|
../../libcxx-max_align_t.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
|
@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
|||||||
export TRIPLE=x86_64-apple-darwin
|
export TRIPLE=x86_64-apple-darwin
|
||||||
'' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
|
'' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
|
||||||
patch -p1 -d $(ls -d libcxx-*) -i ${../libcxx-0001-musl-hacks.patch}
|
patch -p1 -d $(ls -d libcxx-*) -i ${../libcxx-0001-musl-hacks.patch}
|
||||||
patch -p1 -d $(ls -d libcxx-*) -i ${./libc++/max_align_t.patch}
|
patch -p1 -d $(ls -d libcxx-*) -i ${../libcxx-max_align_t.patch}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = if stdenv.isDarwin
|
installPhase = if stdenv.isDarwin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user