Skip to content

Comments

qt5: remove overrideScope'#245905

Merged
Artturin merged 1 commit intoNixOS:masterfrom
lelgenio:qt5-remove-override-scope-quote
Aug 9, 2023
Merged

qt5: remove overrideScope'#245905
Artturin merged 1 commit intoNixOS:masterfrom
lelgenio:qt5-remove-override-scope-quote

Conversation

@lelgenio
Copy link
Contributor

Description of changes

Throw error when accessing qt5.overrideScope', previously issued a warning and redirected to qt5.overrideScope.

Fixes: #245679

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.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.

@lelgenio lelgenio requested a review from ttuegel as a code owner July 28, 2023 16:16
@github-actions github-actions bot added the 6.topic: qt/kde Object-oriented framework for GUI creation label Jul 28, 2023
@lelgenio
Copy link
Contributor Author

Result of nixpkgs-review pr 245905 run on x86_64-linux 1

@lelgenio lelgenio force-pushed the qt5-remove-override-scope-quote branch from f1b691a to f6a944e Compare July 28, 2023 16:54
@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. labels Jul 28, 2023
Copy link
Contributor

@doronbehar doronbehar left a comment

Choose a reason for hiding this comment

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

This issue indeed solves the problem. I think this should be backported to 23.05, so I'm adding the appropriate backport label.

++ lib.optional stdenv.isLinux self.qtwayland.dev;
} ../hooks/wrap-qt-apps-hook.sh;
} // lib.optionalAttrs config.allowAliases {
# remove before 23.11
Copy link
Contributor

Choose a reason for hiding this comment

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

@lelgenio any idea what was the purpose of this comment? Maybe @ttuegel ?

Copy link
Contributor

Choose a reason for hiding this comment

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

According to git blame @jtojnar added this message.

Copy link
Contributor

Choose a reason for hiding this comment

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

In #222928 .

Copy link
Member

Choose a reason for hiding this comment

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

I added the alias and the comment when i converted the set to use makeScopeWithSplicing. The purpose was to remove the alias before 23.11 :P

@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2023

Successfully created backport PR for release-23.05:

@Artturin Artturin mentioned this pull request Nov 11, 2023
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: qt/kde Object-oriented framework for GUI creation 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.

trace: warning: qt5 now uses makeScopeWithSplicing which does not have "overrideScope'", use "overrideScope".

3 participants