Just another step in my line of stuff to change so that it works in NixOS better.
This makes it so that the internet component doesn't use a hard-coded path to wget, by switching from execv to execvp which will search the PATH environment variable. This allows wget to be in any place, not just the usual one, including allowing users to override it to MITM stuff / mock it locally if they so wish.
Just another step in my line of stuff to change so that it works in NixOS better.
This makes it so that the internet component doesn't use a hard-coded path to wget, by switching from
execv
toexecvp
which will search the PATH environment variable. This allows wget to be in any place, not just the usual one, including allowing users to override it to MITM stuff / mock it locally if they so wish.