asymptote: fix build on darwin
This commit is contained in:
parent
442e0ab1f6
commit
82c1d98e94
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user