about summary refs log tree commit diff
path: root/pkgs/tools/filesystems/bindfs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/filesystems/bindfs/default.nix')
-rw-r--r--pkgs/tools/filesystems/bindfs/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/tools/filesystems/bindfs/default.nix b/pkgs/tools/filesystems/bindfs/default.nix
index a8013bd8600b..f086e9416ad6 100644
--- a/pkgs/tools/filesystems/bindfs/default.nix
+++ b/pkgs/tools/filesystems/bindfs/default.nix
@@ -19,9 +19,9 @@ stdenv.mkDerivation (finalAttrs: {
     pkg-config
   ];
 
-  buildInputs = if stdenv.isDarwin then [ fuse ] else [ fuse3 ];
+  buildInputs = if stdenv.hostPlatform.isDarwin then [ fuse ] else [ fuse3 ];
 
-  configureFlags = lib.optional stdenv.isDarwin "--disable-macos-fs-link";
+  configureFlags = lib.optional stdenv.hostPlatform.isDarwin "--disable-macos-fs-link";
 
   postFixup = ''
     ln -s $out/bin/bindfs $out/bin/mount.fuse.bindfs