about summary refs log tree commit diff
path: root/pkgs/by-name/sm/smuview/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/sm/smuview/package.nix')
-rw-r--r--pkgs/by-name/sm/smuview/package.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/by-name/sm/smuview/package.nix b/pkgs/by-name/sm/smuview/package.nix
index 907e332279ca..a030d649992d 100644
--- a/pkgs/by-name/sm/smuview/package.nix
+++ b/pkgs/by-name/sm/smuview/package.nix
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
   };
 
   nativeBuildInputs = [ cmake pkg-config qt5.wrapQtAppsHook ]
-    ++ lib.optional stdenv.isDarwin desktopToDarwinBundle;
+    ++ lib.optional stdenv.hostPlatform.isDarwin desktopToDarwinBundle;
 
   buildInputs = [
     glib
@@ -45,7 +45,7 @@ stdenv.mkDerivation rec {
     python3
     pcre
     libsForQt5.qwt
-  ] ++ lib.optionals stdenv.isLinux [ bluez ];
+  ] ++ lib.optionals stdenv.hostPlatform.isLinux [ bluez ];
 
   meta = with lib; {
     description = "Qt based source measure unit GUI for sigrok";