dotnetModule depedencies from `packages.config`

Building a dotnet module i notide that after running the result from nix-build -A fetch-deps there were nothing in the results.

I found out that instead of using PackageReference the program uses packages.config (old style)

The page on nixpkgs manual only explains for the newer style, how to do it with the old style?

I tried the manual path (using dotnet restore --packages) no depedences found