···1515 buildCommand = ''
1616 mkdir -p $out/{lib,share}
17171818- (
1919- shopt -s nullglob
2020- for nupkg in ${lib.concatMapStringsSep " " (dep: "\"${dep}\"/*.nupkg") deps}; do
2121- cp --no-clobber "$nupkg" $out/lib
2222- done
2323- )
1818+ # use -L to follow symbolic links. When `projectReferences` is used in
1919+ # buildDotnetModule, one of the deps will be a symlink farm.
2020+ find -L ${lib.concatStringsSep " " deps} -type f -name '*.nupkg' -exec \
2121+ cp --no-clobber '{}' $out/lib ';'
24222523 # Generates a list of all licenses' spdx ids, if available.
2624 # Note that this currently ignores any license provided in plain text (e.g. "LICENSE.txt")
···11+# This file was automatically generated by passthru.fetch-deps.
22+# Please dont edit it manually, your changes might get overwritten!
33+44+{ fetchNuGet }: [
55+]