Skip to content
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

gnat-bootstrap: parameterize better #226179

Merged
1 commit merged into from Aug 23, 2023
Merged

gnat-bootstrap: parameterize better #226179

1 commit merged into from Aug 23, 2023

Conversation

ghost
Copy link

@ghost ghost commented Apr 14, 2023

Edit: note: this includes gnatboot: rename to gnat-bootstrap from #225191 which I have asked @mmlb to submit as a separate PR. I'll rebase on top of that PR once it is submitted.

Description of changes

This commit makes url dependent on the gnat version, and allows for alireRevision to be empty (in which case no hyphen is added after ${gccVersion} in version).

This should cause no changes to eval on gnat11 or gnat12.

This is submitted in order to reduce the size of #225191

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.05 Release Notes (or backporting 22.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@ghost ghost requested review from matthewbauer and Ericson2314 as code owners April 14, 2023 18:07
@ghost
Copy link
Author

ghost commented Apr 14, 2023

@ofborg build gnat11 gnat12

@ghost

This comment was marked as resolved.

@ghost ghost marked this pull request as draft April 15, 2023 21:15
@ghost

This comment was marked as resolved.

@vcunat

This comment was marked as resolved.

This commit makes `url` dependent on the gnat version, and allows
for `alireRevision` to be empty (in which case no hyphen is added
after ${gccVersion} in `version`).

This should cause no changes to eval on `gnat11` or `gnat12`.

This is submitted in order to reduce the size of #225191
@ghost ghost marked this pull request as ready for review April 16, 2023 22:38
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux and removed 10.rebuild-darwin: 11-100 10.rebuild-linux: 11-100 labels Apr 16, 2023
@mmlb
Copy link
Contributor

mmlb commented Apr 19, 2023

This lgtm, but really only if #225191 is going to be merged. Otherwise not worth it imo.

@mmlb mmlb mentioned this pull request Apr 28, 2023
12 tasks
@ghost
Copy link
Author

ghost commented Aug 23, 2023

@ofborg eval

@ghost
Copy link
Author

ghost commented Aug 23, 2023

Included in #225191 which has two approvals.

@ghost ghost merged commit 451b68f into NixOS:master Aug 23, 2023
@ghost ghost deleted the pr/gnat-bootstrap/cleanup branch August 23, 2023 23:39
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.has: clean-up 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants