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

qt6: use makeScopeWithSplicing #265524

Merged
merged 4 commits into from
Nov 24, 2023
Merged

qt6: use makeScopeWithSplicing #265524

merged 4 commits into from
Nov 24, 2023

Conversation

Artturin
Copy link
Member

@Artturin Artturin commented Nov 4, 2023

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • 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.11 Release Notes (or backporting 23.05 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.

@Artturin Artturin requested review from K900, NickCao and a user November 4, 2023 21:23
@ghost ghost mentioned this pull request Nov 5, 2023
13 tasks
@Artturin Artturin marked this pull request as ready for review November 11, 2023 19:54
@Artturin Artturin added the 6.topic: cross-compilation Building packages on a different sort platform than than they will be run on label Nov 11, 2023
@Artturin Artturin force-pushed the usemakescopew branch 2 times, most recently from 08562b0 to 0c96185 Compare November 11, 2023 20:22
})))

} // lib.optionalAttrs pkgs.config.allowAliases {
# Convert to a throw on 03-01-2023 and backport the change.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We did a similar thing with qt5 #245905

@ghost
Copy link

ghost commented Nov 12, 2023

I'm having trouble testing this in my tree.

There's probably something in master that it needs, but I'm stuck on staging until it merges back.

As soon as #263535 merge happens I will rebase to master and test this.

@Artturin
Copy link
Member Author

Artturin commented Nov 12, 2023

I'm having trouble testing this in my tree.

There's probably something in master that it needs, but I'm stuck on staging until it merges back.

As soon as #263535 merge happens I will rebase to master and test this.

I didn't build anything, only made sure it evals. what package are you having an issue with?

master is in staging https://github.com/NixOS/nixpkgs/actions/workflows/periodic-merge-6h.yml

@ghost
Copy link

ghost commented Nov 13, 2023

master is in staging https://github.com/NixOS/nixpkgs/actions/workflows/periodic-merge-6h.yml

Yeah but since I'm stuck on staging every rebase is a mass-rebuild. So I don't rebase often.

Once staging (and the commits on staging that I currently need) merges back to master I can resume my usual rebase-every-few-days.

We've been in "staging will merge back to master in the next day or two" for like a week now. The merge always seems to be a day or two away, so I just keep waiting for it.

@Artturin
Copy link
Member Author

master is in staging https://github.com/NixOS/nixpkgs/actions/workflows/periodic-merge-6h.yml

Yeah but since I'm stuck on staging every rebase is a mass-rebuild. So I don't rebase often.

Once staging (and the commits on staging that I currently need) merges back to master I can resume my usual rebase-every-few-days.

We've been in "staging will merge back to master in the next day or two" for like a week now. The merge always seems to be a day or two away, so I just keep waiting for it.

👍

The reason -next hasn't been merged is because the build farm is starved of aarch64-linux and there was a necessary darwin fix merged from staging to -next.

The staging and infrastructure rooms on matrix have relevant discussions

improves cross-compilation support

matches qt5 set
23.11 has a warning for `overrideScope'` in `makeScope` itself
It wouldn't work that way, idk why I thought it would.

23.11 has a warning for `overrideScope'` in `makeScope` itself
@Artturin Artturin merged commit 81ca4c3 into NixOS:master Nov 24, 2023
17 checks passed
@Artturin Artturin deleted the usemakescopew branch November 24, 2023 14:29
} ./hooks/qmake-hook.sh;
} ./hooks/qmake-hook.sh) { };
} // lib.optionalAttrs config.allowAliases {
# Convert to a throw on 03-01-2023 and backport the change.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure when is exactly 03-01-2023, but isn't it already passed?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meant 2024 :P

I have it in my calendar so no need to fix the typo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: cross-compilation Building packages on a different sort platform than than they will be run on 10.rebuild-darwin: 0 10.rebuild-linux: 0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants