python312Packages.pyside6: fix eval on linux

(cherry picked from commit 6bd56f2388)
This commit is contained in:
Peder Bergebakken Sundt 2024-11-15 07:09:29 +01:00 committed by github-actions[bot]
parent 7b404b0ed6
commit d796aff012

View File

@ -94,19 +94,18 @@ stdenv.mkDerivation (finalAttrs: {
pythonImportsCheckHook
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ moveBuildTree ];
buildInputs =
python.pkgs.qt6.darwinVersionInputs
++ (
if stdenv.hostPlatform.isLinux then
# qtwebengine fails under darwin
# see https://github.com/NixOS/nixpkgs/pull/312987
packages ++ [ python.pkgs.qt6.qtwebengine ]
else
[
qt_linked
cups
]
);
buildInputs = (
if stdenv.hostPlatform.isLinux then
# qtwebengine fails under darwin
# see https://github.com/NixOS/nixpkgs/pull/312987
packages ++ [ python.pkgs.qt6.qtwebengine ]
else
python.pkgs.qt6.darwinVersionInputs
++ [
qt_linked
cups
]
);
propagatedBuildInputs = [ shiboken6 ];