graalvm8: 19.1.1 -> 19.2.1
- - nixpkgs now with full darwin support
This commit is contained in:
@@ -12,5 +12,14 @@ appleDerivation {
|
||||
|
||||
cp -r dispatch/*.h $out/include/dispatch
|
||||
cp -r os/object*.h $out/include/os
|
||||
|
||||
# gcc compatability. Source: https://stackoverflow.com/a/28014302/3714556
|
||||
substituteInPlace $out/include/dispatch/object.h \
|
||||
--replace 'typedef void (^dispatch_block_t)(void);' \
|
||||
'#ifdef __clang__
|
||||
typedef void (^dispatch_block_t)(void);
|
||||
#else
|
||||
typedef void* dispatch_block_t;
|
||||
#endif'
|
||||
'';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user