The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
waagent re-executes itself in UpdateHandler.run_latest, even if
autoupdate is disabled.
It manually spawns a python interprever with argv0, so make sure we set
this to the right place.
PATH contains our PYTHON, and PYTHONPATH stays set, so this should
somewhat still work.
- use propagatedBuildInputs, we need `distro` at runtime.
- move addition of runtimeDeps into makeWrapperArgs
- move binary moving into preFixup, so buildPythonApplication can do
its thing.
- populate $out/etc as well, so udev rules can be found.
The udev file needs to be patched to fix the /bin/chmod reference.
The agent has not been updated for a very long time. In addition to
updating to the newest tagged version the change creates a package for
it.
The existing version has issues with the new python2.7 package not
containing crypt.so file. And the commit
6910a4eea0 I believe introduced
regression that caused the shebang to not be updated.