-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Description
Describe the bug
Consider this:
nixpkgs/pkgs/top-level/all-packages.nix
Lines 21555 to 21562 in 0826f2e
| kdeApplications = | |
| let | |
| mkApplications = import ../applications/kde; | |
| attrs = { | |
| libsForQt5 = libsForQt514; | |
| inherit lib fetchurl; | |
| inherit okteta; | |
| }; |
Where all other libsForQt5.callPackage usages in all-packages.nix use libsForQt515. This causes incompatibilities if derivations available in kdeApplications are used in conjunction with expressions called with libsForQt5.callPackage used in all-packages.nix.
To Reproduce
For example, kile has:
nixpkgs/pkgs/applications/editors/kile/default.nix
Lines 51 to 52 in 0826f2e
| propagatedUserEnvPkgs = [ konsole ]; |
Which causes it to have the environment of kdeApplications.konsole in it's wrapper. The environment of kdeApplications.konsole has qt514 vars but kile is built with qt515 causing it not to start.
Additional context
A fix for this should be similar to the sprint in #99956 . FYI @piegamesde .
Notify maintainers