- use overridable environment variables for input
- prefix those variables with "NIX_", to communicate that this is
something specific to nixpkgs
- detect equal cli flags, and override envvars based on them
- add preferred path "$XDG_CACHE_HOME/vcpkg" before "$HOME/.vcpkg/root"
- set "--x-install-root"
Co-authored-by: Edgar B <39066502+Guekka@users.noreply.github.com>
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.