about summary refs log tree commit diff
path: root/pkgs/development/python-modules/shiboken6/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/shiboken6/default.nix')
-rw-r--r--pkgs/development/python-modules/shiboken6/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/shiboken6/default.nix b/pkgs/development/python-modules/shiboken6/default.nix
index e3d5490a6c36..2c491e193d80 100644
--- a/pkgs/development/python-modules/shiboken6/default.nix
+++ b/pkgs/development/python-modules/shiboken6/default.nix
@@ -28,7 +28,7 @@ stdenv'.mkDerivation (finalAttrs: {
   nativeBuildInputs = [
     cmake
     (python.pythonOnBuildForHost.withPackages (ps: [ ps.setuptools ]))
-  ] ++ lib.optionals stdenv.isLinux [ autoPatchelfHook ];
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [ autoPatchelfHook ];
 
   buildInputs = [
     llvmPackages.llvm