3
0
Fork 0
forked from mirrors/nixpkgs

asymptote: fix build on darwin

This commit is contained in:
Vincent Laporte 2017-02-06 19:05:55 +00:00
parent 442e0ab1f6
commit 82c1d98e94

View file

@ -2,6 +2,7 @@
, freeglut, ghostscriptX, imagemagick, fftw
, boehmgc, mesa_glu, mesa_noglu, ncurses, readline, gsl, libsigsegv
, python, zlib, perl, texLive, texinfo, xz
, darwin
}:
let
@ -20,6 +21,8 @@ let
python zlib perl texLive texinfo xz ]
++ stdenv.lib.optionals stdenv.isLinux
[ freeglut mesa_glu mesa_noglu mesa_noglu.osmesa ]
++ stdenv.lib.optionals stdenv.isDarwin
(with darwin.apple_sdk.frameworks; [ OpenGL GLUT Cocoa ])
;
in
stdenv.mkDerivation {