about summary refs log tree commit diff
path: root/pkgs/tools/graphics/pfstools/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/graphics/pfstools/default.nix')
-rw-r--r--pkgs/tools/graphics/pfstools/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/tools/graphics/pfstools/default.nix b/pkgs/tools/graphics/pfstools/default.nix
index 7d595c5e4ce1..b164799e9cc2 100644
--- a/pkgs/tools/graphics/pfstools/default.nix
+++ b/pkgs/tools/graphics/pfstools/default.nix
@@ -32,7 +32,7 @@ mkDerivation rec {
   buildInputs = [
     openexr zlib imagemagick6 fftwFloat
     fftw gsl libexif perl qtbase netpbm
-  ] ++ (if stdenv.isDarwin then (with darwin.apple_sdk.frameworks; [
+  ] ++ (if stdenv.hostPlatform.isDarwin then (with darwin.apple_sdk.frameworks; [
     OpenGL GLUT
   ]) else [
     libGLU libGL libglut