Loading pkgs/development/libraries/vtk/generic.nix +4 −6 Original line number Diff line number Diff line Loading @@ -140,7 +140,10 @@ stdenv.mkDerivation (finalAttrs: { cmake pkg-config # required for finding MySQl ] ++ lib.optional pythonSupport python3Packages.python ++ lib.optionals pythonSupport [ python3Packages.python python3Packages.pythonRecompileBytecodeHook ] ++ lib.optional ( pythonSupport && stdenv.buildPlatform == stdenv.hostPlatform ) python3Packages.pythonImportsCheckHook; Loading Loading @@ -288,11 +291,6 @@ stdenv.mkDerivation (finalAttrs: { (vtkBool "VTK_GROUP_ENABLE_MPI" mpiSupport) ]; # byte-compile python modules since the CMake build does not do it postInstall = lib.optionalString pythonSupport '' python -m compileall -s $out $out/${python3Packages.python.sitePackages} ''; pythonImportsCheck = [ "vtk" ]; dontWrapQtApps = true; Loading Loading
pkgs/development/libraries/vtk/generic.nix +4 −6 Original line number Diff line number Diff line Loading @@ -140,7 +140,10 @@ stdenv.mkDerivation (finalAttrs: { cmake pkg-config # required for finding MySQl ] ++ lib.optional pythonSupport python3Packages.python ++ lib.optionals pythonSupport [ python3Packages.python python3Packages.pythonRecompileBytecodeHook ] ++ lib.optional ( pythonSupport && stdenv.buildPlatform == stdenv.hostPlatform ) python3Packages.pythonImportsCheckHook; Loading Loading @@ -288,11 +291,6 @@ stdenv.mkDerivation (finalAttrs: { (vtkBool "VTK_GROUP_ENABLE_MPI" mpiSupport) ]; # byte-compile python modules since the CMake build does not do it postInstall = lib.optionalString pythonSupport '' python -m compileall -s $out $out/${python3Packages.python.sitePackages} ''; pythonImportsCheck = [ "vtk" ]; dontWrapQtApps = true; Loading