about summary refs log tree commit diff
path: root/pkgs/development/libraries/tdb/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/tdb/default.nix')
-rw-r--r--pkgs/development/libraries/tdb/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/tdb/default.nix b/pkgs/development/libraries/tdb/default.nix
index d78f4abafab0..c84ded6267e1 100644
--- a/pkgs/development/libraries/tdb/default.nix
+++ b/pkgs/development/libraries/tdb/default.nix
@@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
     "--cross-execute=${stdenv.hostPlatform.emulator buildPackages}"
   ];
 
-  postFixup = if stdenv.isDarwin
+  postFixup = if stdenv.hostPlatform.isDarwin
     then ''install_name_tool -id $out/lib/libtdb.dylib $out/lib/libtdb.dylib''
     else null;