about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/elina/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/ocaml-modules/elina/default.nix')
-rw-r--r--pkgs/development/ocaml-modules/elina/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/ocaml-modules/elina/default.nix b/pkgs/development/ocaml-modules/elina/default.nix
index de000f8aaf83..de3f1094143d 100644
--- a/pkgs/development/ocaml-modules/elina/default.nix
+++ b/pkgs/development/ocaml-modules/elina/default.nix
@@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
     "--use-opam"
     "--apron-prefix" apron
   ]
-  ++ lib.optional stdenv.isDarwin "--absolute-dylibs"
+  ++ lib.optional stdenv.hostPlatform.isDarwin "--absolute-dylibs"
   ;
 
   createFindlibDestdir = true;