NixOS does not follow the FHS/LSB convention and building vcpkg therefore
fails. In general, vcpkg is of very limited use for a Nix system.
This shell.nix however, allows a developer to enter a environment
suitable for building vcpkg and developing packages for use on
other platforms.
Running with argument withX11 will allow building most packages that require
X11 libraries.
$ nix-shell --arg withX11 true