nuget-to-json: fix tools not being added to the lockfile
This commit is contained in:
@@ -62,7 +62,7 @@ done
|
||||
fi
|
||||
|
||||
# packages in the nix store should have an empty metadata file
|
||||
used_source="$(jq -r '.source // ""' "$version"/.nupkg.metadata)"
|
||||
used_source="$(jq -r 'if has("source") then .source else "" end' "$version"/.nupkg.metadata)"
|
||||
found=false
|
||||
|
||||
if [[ -z "$used_source" || -d "$used_source" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user