about summary refs log tree commit diff
path: root/pkgs/by-name/th/thonny/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/th/thonny/package.nix')
-rw-r--r--pkgs/by-name/th/thonny/package.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/by-name/th/thonny/package.nix b/pkgs/by-name/th/thonny/package.nix
index 91c40a3c7b3c..f230b24d582a 100644
--- a/pkgs/by-name/th/thonny/package.nix
+++ b/pkgs/by-name/th/thonny/package.nix
@@ -21,7 +21,9 @@ buildPythonApplication rec {
     hash = "sha256-/ms2RESnV3bsJpK1zYYLHNUu1FtA6PntaseTbKMfUMc=";
   };
 
-  nativeBuildInputs = [ copyDesktopItems ] ++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
+  nativeBuildInputs = [
+    copyDesktopItems
+  ] ++ lib.optional stdenv.hostPlatform.isDarwin desktopToDarwinBundle;
 
   desktopItems = [
     (makeDesktopItem {
@@ -51,7 +53,7 @@ buildPythonApplication rec {
         asttokens
         send2trash
       ]
-      ++ lib.optionals stdenv.isLinux [
+      ++ lib.optionals stdenv.hostPlatform.isLinux [
         dbus-next
       ]
     );