-
Notifications
You must be signed in to change notification settings - Fork 136
NixOS (alternative source download methods?) #1887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Oh, duh, I didn't realize that the documentation was different from the README... Being able to generate a source tarball alone is a partial solution. Are these source tarballs available anywhere? If so, that would solve other issues too. |
I package source-build for Fedora. Hopefully I can provide some answers you are looking for.
It shouldn't matter. dotnet is mostly standalone. As long as the entire SDK+Runtime is installed at one location on-disk, everything should be fine. In Fedora, for example,
No, unfortunately. See #298 For Fedora, I build source-build on locally on a Fedora box and then use the just-produced source-tarball for further builds in the official Fedora build system.
This is going to be harder in the current infrastructure. There's no obvious way to map a specific commit id to a specific tarball. Rebuilding the tarball might produce different results too. Can you file a separate issue for this?
#298 takes care of this too, right? |
I think having #298 should solve this? My phrasing might have been confusing. All that's necessary is that the results of whatever download step we run are always the same. Assuming that a given source tarball URL is immutable, this should be fine. |
The .NET binaries depend on several libraries in |
Yeah, I expect they'll be published 1:1 to a release tag, which we are conscious about not mutating.
You might be able to patch something around here: eng/common/tools.sh#L172-L197, where we download the prebuilt/bootstrap/stage0 .NET SDK. (If you think your patch can be upstreamed, note that this script is maintained at https://github.com/dotnet/arcade/blob/master/eng/common/tools.sh and we just have a copy in this repo.) |
@leo60228 Did this answer your questions? |
Assuming questions are answered. Closing as resolved. |
NixOS is somewhat unique. We currently use the binary releases of the .NET SDK, though we would prefer not to do this. source-build seems close to what we want, though I'm not sure how to handle these:
I feel like other distros might have hit some ot all of these. However, I can't find solutions documented anywhere.
The text was updated successfully, but these errors were encountered: