about summary refs log tree commit diff
path: root/pkgs/development/libraries/sonic/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/sonic/default.nix')
-rw-r--r--pkgs/development/libraries/sonic/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/sonic/default.nix b/pkgs/development/libraries/sonic/default.nix
index 4ab71b36a012..6b82b5f4f04f 100644
--- a/pkgs/development/libraries/sonic/default.nix
+++ b/pkgs/development/libraries/sonic/default.nix
@@ -19,7 +19,7 @@ stdenv.mkDerivation {
 
   postInstall = ''
     installManPage sonic.1
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     install_name_tool -id $out/lib/libsonic.so.0.3.0 $out/lib/libsonic.so.0.3.0
   '';