Skip to content

Commit

Permalink
python312Packages.pyside6: fix eval on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
pbsds committed Nov 15, 2024
1 parent 06f4f5e commit 3a37005
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions pkgs/development/python-modules/pyside6/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 ];

Expand Down

0 comments on commit 3a37005

Please sign in to comment.