pyqt5: propagate Qt dependencies
This is so that Qt user environment packages are also propagated. Fixes Electrum environment installations when no other Qt applications are installed. Added `dev` output so that closure size won't explode.
This commit is contained in:
parent
9b5669b5a6
commit
b1b4c6c4eb
@ -9,6 +9,7 @@ let
|
||||
version = "5.10";
|
||||
|
||||
inherit (pythonPackages) buildPythonPackage python dbus-python sip;
|
||||
|
||||
in buildPythonPackage {
|
||||
pname = pname;
|
||||
version = version;
|
||||
@ -27,14 +28,16 @@ in buildPythonPackage {
|
||||
sha256 = "0l2zy6b7bfjxmg4bb8yikg6i8iy2xdwmvk7knfmrzfpqbmkycbrl";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig qmake ];
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
buildInputs = [
|
||||
lndir qtbase qtsvg qtwebkit qtwebengine dbus_libs
|
||||
nativeBuildInputs = [ pkgconfig qmake lndir ];
|
||||
|
||||
buildInputs = [ dbus_libs ];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
sip qtbase qtsvg qtwebkit qtwebengine
|
||||
] ++ lib.optional withWebSockets qtwebsockets ++ lib.optional withConnectivity qtconnectivity;
|
||||
|
||||
propagatedBuildInputs = [ sip ];
|
||||
|
||||
configurePhase = ''
|
||||
runHook preConfigure
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user