···15 buildCommand = ''
16 mkdir -p $out/{lib,share}
1718- (
19- shopt -s nullglob
20- for nupkg in ${lib.concatMapStringsSep " " (dep: "\"${dep}\"/*.nupkg") deps}; do
21- cp --no-clobber "$nupkg" $out/lib
22- done
23- )
2425 # Generates a list of all licenses' spdx ids, if available.
26 # Note that this currently ignores any license provided in plain text (e.g. "LICENSE.txt")
···15 buildCommand = ''
16 mkdir -p $out/{lib,share}
1718+ # use -L to follow symbolic links. When `projectReferences` is used in
19+ # buildDotnetModule, one of the deps will be a symlink farm.
20+ find -L ${lib.concatStringsSep " " deps} -type f -name '*.nupkg' -exec \
21+ cp --no-clobber '{}' $out/lib ';'
002223 # Generates a list of all licenses' spdx ids, if available.
24 # Note that this currently ignores any license provided in plain text (e.g. "LICENSE.txt")
···1+# This file was automatically generated by passthru.fetch-deps.
2+# Please dont edit it manually, your changes might get overwritten!
3+4+{ fetchNuGet }: [
5+]