qt5: inherit from __splicedPackages to fix cross#220374
qt5: inherit from __splicedPackages to fix cross#220374Artturin merged 2 commits intoNixOS:masterfrom
Conversation
if there is more than one qt5 attr and this file is copied then the arg to generateSplicesForMkScope should be changed
ghost
left a comment
There was a problem hiding this comment.
Thank you so much for this. The splicing voodoo is still a total mystery to me. I read the comments in splice.nix four or five times and still can't figure out what's going on there.
|
The following overlay now causes an infinite recursion I only changed overrideScope' to overrideScope after seeing the warning and thought that is unexpected. |
|
plasma5Packages is a different set and different file and it doesn't use makeScopeWithSplicing so the overrideScope you're using is the deprecated overrideScope which has the arguments flipped and thats why you're getting the infinite recursion you shouldn't be getting any of the warnings introduced in this PR |
|
plasma5Packages is more or less just an alias for libsForQt5. I don't get the warning right now anymore but I forgot which shenanigans I did to get it. |
|
@Artturin this change may cause murmur to rebuild QT5 unnecessarily again if set to |
it shouldn't |
Description of changes
Things done
sandbox = trueset innix.conf? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)