Skip to content

Commit

Permalink
asymptote: fix build on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
vbgl committed Feb 6, 2017
1 parent 442e0ab commit 82c1d98
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/tools/graphics/asymptote/default.nix
Expand Up @@ -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
Expand All @@ -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 {
Expand Down

0 comments on commit 82c1d98

Please sign in to comment.