I am trying to improve dub2nix and make Nix work better with D. To this end I want to build all dependencies of a package without building that package itself. I tried to fetch the dependencies from a dub.selections.json file and build them, but this fails:
`[nix-shell:~/dlang/dlang-mix-meson-playground]$ HOME=. dub fetch stdx-allocator@2.77.5
Fetching stdx-allocator 2.77.5...
[nix-shell:~/dlang/dlang-mix-meson-playground]$ dub add-local .dub/packages/stdx-allocator-2.77.5/stdx-allocator 2.77.5
Registered package: stdx-allocator (version: 2.77.5)
[nix-shell:~/dlang/dlang-mix-meson-playground]$ HOME=. dub build --skip-registry=all stdx-allocator@2.77.5
No package stdx-allocator was found matching the dependency 2.77.5
`