From a3e20b8dbc6c20349c0bf64e79adf20591eae6b1 Mon Sep 17 00:00:00 2001 From: freezeboy Date: Sun, 1 Nov 2020 16:22:00 +0100 Subject: [PATCH] python3Packages.pysideShiboken: refactor to use multiple outputs --- pkgs/development/python-modules/pyside/shiboken.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/python-modules/pyside/shiboken.nix b/pkgs/development/python-modules/pyside/shiboken.nix index b0c3368e070b..cf7192f92ffb 100644 --- a/pkgs/development/python-modules/pyside/shiboken.nix +++ b/pkgs/development/python-modules/pyside/shiboken.nix @@ -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/