Unverified Commit 5238ca31 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

Merge pull request #325563 from corngood/nuget-to-nix-fix

nuget-to-nix: fix hash generation when resolving multiple sources
parents 2f5751b7 691bec7b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -70,6 +70,7 @@ for package in *; do
        break
      else
        if hash=$(nix-prefetch-url "$url" 2>"$tmp"/error); then
          hash="$(nix-hash --to-sri --type sha256 "$hash")"
          # If multiple remote sources are enabled, nuget will try them all
          # concurrently and use the one that responds first. We always use the
          # first source that has the package.