mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
darwin.libpthread: fix messed-up header
We don't actually need the private headers and the private qos.h was overwriting the public one, causing weird issues downstream (especially with Swift's CoreFoundation)
This commit is contained in:
parent
8f4bbdce99
commit
98b5e3a531
@ -9,9 +9,11 @@ appleDerivation {
|
||||
mkdir -p $out/include/pthread/
|
||||
mkdir -p $out/include/sys/_types
|
||||
cp pthread/*.h $out/include/pthread/
|
||||
cp private/*.h $out/include/pthread/
|
||||
|
||||
# This overwrites qos.h, and is probably not necessary, but I'll leave it here for now
|
||||
# cp private/*.h $out/include/pthread/
|
||||
|
||||
cp -r sys $out/include
|
||||
cp -r sys/_pthread/*.h $out/include/sys/_types/
|
||||
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user