about summary refs log tree commit diff
path: root/pkgs/applications/video/youtube-tui/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/video/youtube-tui/default.nix')
-rw-r--r--pkgs/applications/video/youtube-tui/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/video/youtube-tui/default.nix b/pkgs/applications/video/youtube-tui/default.nix
index 89d32f6f9a70..70458c7f6235 100644
--- a/pkgs/applications/video/youtube-tui/default.nix
+++ b/pkgs/applications/video/youtube-tui/default.nix
@@ -43,14 +43,14 @@ rustPlatform.buildRustPackage rec {
     xorg.libxcb
     libsixel
     mpv
-  ] ++ lib.optionals stdenv.isDarwin [
+  ] ++ lib.optionals stdenv.hostPlatform.isDarwin [
     CoreFoundation
     Security
     AppKit
   ];
 
   # sixel-sys is dynamically linked to libsixel
-  postInstall = lib.optionalString stdenv.isDarwin ''
+  postInstall = lib.optionalString stdenv.hostPlatform.isDarwin ''
     wrapProgram $out/bin/youtube-tui \
       --prefix DYLD_LIBRARY_PATH : "${lib.makeLibraryPath [libsixel]}"
   '';