about summary refs log tree commit diff
path: root/pkgs/tools/filesystems/dosfstools/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/filesystems/dosfstools/default.nix')
-rw-r--r--pkgs/tools/filesystems/dosfstools/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/dosfstools/default.nix b/pkgs/tools/filesystems/dosfstools/default.nix
index eda54d341f9a..0305e6514640 100644
--- a/pkgs/tools/filesystems/dosfstools/default.nix
+++ b/pkgs/tools/filesystems/dosfstools/default.nix
@@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
   ];
 
   nativeBuildInputs = [ autoreconfHook pkg-config ]
-    ++ lib.optional stdenv.isDarwin libiconv;
+    ++ lib.optional stdenv.hostPlatform.isDarwin libiconv;
 
   # configure.ac:75: error: required file './config.rpath' not found
   # https://github.com/dosfstools/dosfstools/blob/master/autogen.sh