Use nix-env-patched to quickly extract all the needed nixpkgs metadata.