3a4df29a92
GitOrigin-RevId: 3d7435c638baffaa826b85459df0fff47f12317d
19 lines
439 B
Nix
19 lines
439 B
Nix
{ qtModule
|
|
, qtbase
|
|
, qtshadertools
|
|
, openssl
|
|
, python3
|
|
}:
|
|
|
|
qtModule {
|
|
pname = "qtdeclarative";
|
|
qtInputs = [ qtbase qtshadertools ];
|
|
propagatedBuildInputs = [ openssl python3 ];
|
|
preConfigure = ''
|
|
export LD_LIBRARY_PATH="$PWD/build/lib''${LD_LIBRARY_PATH:+:}$LD_LIBRARY_PATH"
|
|
'';
|
|
postInstall = ''
|
|
substituteInPlace "$out/lib/cmake/Qt6Qml/Qt6QmlMacros.cmake" \
|
|
--replace ''\'''${QT6_INSTALL_PREFIX}' "$out"
|
|
'';
|
|
}
|