about summary refs log tree commit diff
path: root/pkgs/by-name/sc/screen-pipe/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/sc/screen-pipe/package.nix')
-rw-r--r--pkgs/by-name/sc/screen-pipe/package.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/by-name/sc/screen-pipe/package.nix b/pkgs/by-name/sc/screen-pipe/package.nix
index b851c49a5808..141eca8d82c7 100644
--- a/pkgs/by-name/sc/screen-pipe/package.nix
+++ b/pkgs/by-name/sc/screen-pipe/package.nix
@@ -49,7 +49,7 @@ rustPlatform.buildRustPackage rec {
       openssl
       sqlite
     ]
-    ++ lib.optionals stdenv.isDarwin (
+    ++ lib.optionals stdenv.hostPlatform.isDarwin (
       with darwin.apple_sdk_12_3.frameworks;
       [
         CoreAudio
@@ -65,12 +65,12 @@ rustPlatform.buildRustPackage rec {
         SystemConfiguration
       ]
     )
-    ++ lib.optionals stdenv.isLinux [
+    ++ lib.optionals stdenv.hostPlatform.isLinux [
       alsa-lib
       xorg.libxcb
     ];
 
-  buildFeatures = lib.optional stdenv.isDarwin "metal";
+  buildFeatures = lib.optional stdenv.hostPlatform.isDarwin "metal";
 
   env = {
     RUSTONIG_SYSTEM_LIBONIG = true;