python3Packages.pysideShiboken: refactor to use multiple outputs

This commit is contained in:
freezeboy 2020-11-01 16:22:00 +01:00
parent 335d21df85
commit a3e20b8dbc

View file

@ -33,7 +33,10 @@ buildPythonPackage rec {
buildInputs = [ python libxml2 libxslt ];
outputs = [ "out" "dev" ];
preConfigure = ''
cmakeFlagsArray=("-DCMAKE_INSTALL_PREFIX=$dev")
echo "preConfigure: Fixing shiboken_generator install target."
substituteInPlace generator/CMakeLists.txt --replace \
\"$\{GENERATORRUNNER_PLUGIN_DIR}\" lib/generatorrunner/