Skip to content

Commit d796aff

Browse files
pbsdsgithub-actions[bot]
authored andcommitted
python312Packages.pyside6: fix eval on linux
(cherry picked from commit 6bd56f2)
1 parent 7b404b0 commit d796aff

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

pkgs/development/python-modules/pyside6/default.nix

+12-13
Original file line numberDiff line numberDiff line change
@@ -94,19 +94,18 @@ stdenv.mkDerivation (finalAttrs: {
9494
pythonImportsCheckHook
9595
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ moveBuildTree ];
9696

97-
buildInputs =
98-
python.pkgs.qt6.darwinVersionInputs
99-
++ (
100-
if stdenv.hostPlatform.isLinux then
101-
# qtwebengine fails under darwin
102-
# see https://github.com/NixOS/nixpkgs/pull/312987
103-
packages ++ [ python.pkgs.qt6.qtwebengine ]
104-
else
105-
[
106-
qt_linked
107-
cups
108-
]
109-
);
97+
buildInputs = (
98+
if stdenv.hostPlatform.isLinux then
99+
# qtwebengine fails under darwin
100+
# see https://github.com/NixOS/nixpkgs/pull/312987
101+
packages ++ [ python.pkgs.qt6.qtwebengine ]
102+
else
103+
python.pkgs.qt6.darwinVersionInputs
104+
++ [
105+
qt_linked
106+
cups
107+
]
108+
);
110109

111110
propagatedBuildInputs = [ shiboken6 ];
112111

0 commit comments

Comments
 (0)