about summary refs log tree commit diff
path: root/pkgs/development/libraries/igraph/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/igraph/default.nix')
-rw-r--r--pkgs/development/libraries/igraph/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/igraph/default.nix b/pkgs/development/libraries/igraph/default.nix
index 63ca16e19d7a..0501fe4ac2d3 100644
--- a/pkgs/development/libraries/igraph/default.nix
+++ b/pkgs/development/libraries/igraph/default.nix
@@ -91,7 +91,7 @@ stdenv.mkDerivation (finalAttrs: {
   postFixup = ''
     substituteInPlace $dev/lib/cmake/igraph/igraph-targets.cmake \
       --replace-fail "_IMPORT_PREFIX \"$out\"" "_IMPORT_PREFIX \"$dev\""
-  '' + lib.optionalString stdenv.isDarwin ''
+  '' + lib.optionalString stdenv.hostPlatform.isDarwin ''
     install_name_tool -change libblas.dylib ${blas}/lib/libblas.dylib $out/lib/libigraph.dylib
   '';