about summary refs log tree commit diff
path: root/pkgs/development/libraries/smpeg/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/smpeg/default.nix')
-rw-r--r--pkgs/development/libraries/smpeg/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/smpeg/default.nix b/pkgs/development/libraries/smpeg/default.nix
index 099a3d838bbb..d310e3653e7f 100644
--- a/pkgs/development/libraries/smpeg/default.nix
+++ b/pkgs/development/libraries/smpeg/default.nix
@@ -38,7 +38,7 @@ stdenv.mkDerivation rec {
 
   nativeBuildInputs = [ autoconf automake libtool m4 pkg-config makeWrapper ];
 
-  buildInputs = [ SDL ] ++ lib.optionals (!stdenv.isDarwin) [ gtk2 libGLU libGL ];
+  buildInputs = [ SDL ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ gtk2 libGLU libGL ];
 
   outputs = [ "out" "dev" ];