diff options
author | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2019-02-01 14:16:52 -0500 |
---|---|---|
committer | Dmitry Kalinkin <dmitry.kalinkin@gmail.com> | 2019-02-01 16:53:21 -0500 |
commit | e253fd1a95a41898f8f112be9d46f6e3af233cae (patch) | |
tree | d3448c54b7d4d661e39f62ff861a410f5201d245 /pkgs/development/libraries/ftgl | |
parent | 453baaeabd695034a02654b101000dfc2a5fec8f (diff) |
ftgl: fix on darwin
Diffstat (limited to 'pkgs/development/libraries/ftgl')
-rw-r--r-- | pkgs/development/libraries/ftgl/default.nix | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/libraries/ftgl/default.nix b/pkgs/development/libraries/ftgl/default.nix index 8808af49f9e42..289a573998548 100644 --- a/pkgs/development/libraries/ftgl/default.nix +++ b/pkgs/development/libraries/ftgl/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, freetype, libGLU_combined}: +{ stdenv, fetchurl, freetype, libGLU_combined, OpenGL }: let name = "ftgl-2.1.3-rc5"; @@ -11,7 +11,12 @@ stdenv.mkDerivation { sha256 = "0nsn4s6vnv5xcgxcw6q031amvh2zfj2smy1r5mbnjj2548hxcn2l"; }; - buildInputs = [ freetype libGLU_combined ]; + buildInputs = [ freetype ] + ++ (if stdenv.isDarwin then + [ OpenGL ] + else + [ libGLU_combined ]) + ; enableParallelBuilding = true; |