about summary refs log tree commit diff
path: root/pkgs/applications/misc/far2l/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/misc/far2l/default.nix')
-rw-r--r--pkgs/applications/misc/far2l/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/applications/misc/far2l/default.nix b/pkgs/applications/misc/far2l/default.nix
index f35df6a049f2..7508bc53e657 100644
--- a/pkgs/applications/misc/far2l/default.nix
+++ b/pkgs/applications/misc/far2l/default.nix
@@ -31,9 +31,9 @@ stdenv.mkDerivation rec {
     ++ lib.optionals withColorer [ spdlog xercesc ]
     ++ lib.optionals withMultiArc [ libarchive pcre ]
     ++ lib.optionals withNetRocks [ openssl libssh libnfs neon ]
-    ++ lib.optional (withNetRocks && !stdenv.isDarwin) samba # broken on darwin
+    ++ lib.optional (withNetRocks && !stdenv.hostPlatform.isDarwin) samba # broken on darwin
     ++ lib.optionals withPython (with python3Packages; [ python cffi debugpy pcpp ])
-    ++ lib.optionals stdenv.isDarwin [ IOKit Carbon Cocoa AudioToolbox OpenGL System ];
+    ++ lib.optionals stdenv.hostPlatform.isDarwin [ IOKit Carbon Cocoa AudioToolbox OpenGL System ];
 
   postPatch = ''
     patchShebangs python/src/prebuild.sh