| 22 Jun 2021 |
Alyssa Ross | A git repo containing all the Darwin sources would be easy to put together, and probably useful | 13:05:45 |
sterni (he/him) | ls $(nix-build -A darwin.adv_cmds)/bin/pgrep
ls: /nix/store/b9x0w672agy43dlh7q55gnsc8hj1l28f-adv_cmds-163/bin/pgrep: No such file or directory
| 13:09:39 |
sterni (he/him) | huh | 13:09:39 |
sterni (he/him) | https://opensource.apple.com/source/adv_cmds/adv_cmds-163/ missing here as well | 13:11:14 |
Alyssa Ross | I'm looking at 176 | 13:11:31 |
LnL | the bsd grep is in shell_cmds I think | 13:11:40 |
Alyssa Ross | we want pgrep, not grep | 13:11:51 |
Alyssa Ross | sternenseemann: it's pkill | 13:12:07 |
LnL | ah, I misread | 13:12:05 |
Alyssa Ross | it checks prog_name | 13:12:11 |
Alyssa Ross | so should just need a symlink | 13:12:28 |
sterni (he/him) | okay… | 13:12:41 |
sterni (he/him) | how do you override the appleDerivation' thing to do that is the question | 13:12:51 |
sterni (he/him) | oh we don't need to actually | 13:13:40 |
Alyssa Ross | it's there but commented out | 13:14:42 |
sterni (he/him) | uhh | 13:17:49 |
sterni (he/him) | pkill is missing too | 13:17:52 |
Alyssa Ross | read the comment at the top | 13:18:06 |
sterni (he/him) | # pkill requires special private headers that are unavailable in
# NixPkgs. These ones are needed:
| 13:18:19 |
sterni (he/him) | okay I think I need to do something else for a bit, this is so annoying | 13:19:27 |
toonn | Yeah, the whole private header/framework thing is... | 13:20:45 |
Alyssa Ross | sternenseemann: base_private.h comes from xnu | 13:20:52 |
Alyssa Ross | we might be able to get that | 13:20:57 |
Alyssa Ross | and _simple.h comes from libplatform | 13:21:16 |
Alyssa Ross | so it seems like we at least have the code available | 13:21:26 |
toonn | Is it actually open source, is requiring an Apple system reasonable? | 13:21:49 |
sterni (he/him) | do we have xpc.h though? | 13:22:08 |
toonn | I've seen some "fake_xpc.h" patching. | 13:22:28 |
Alyssa Ross | not that I could find, but is it actually required? | 13:22:29 |
Alyssa Ross | no matches in the source for "xpxc.h" | 13:22:36 |