From 3a37005b04566146e0a78d2edb1b81ff1dd3cb5c Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Fri, 15 Nov 2024 07:09:29 +0100 Subject: [PATCH] python312Packages.pyside6: fix eval on linux --- .../python-modules/pyside6/default.nix | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/pyside6/default.nix b/pkgs/development/python-modules/pyside6/default.nix index 840af05e4bab18..f55d5dee6feff8 100644 --- a/pkgs/development/python-modules/pyside6/default.nix +++ b/pkgs/development/python-modules/pyside6/default.nix @@ -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 ];