Skip to content

Commit 82c1d98

Browse files
committedFeb 6, 2017
asymptote: fix build on darwin
1 parent 442e0ab commit 82c1d98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎pkgs/tools/graphics/asymptote/default.nix

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
, freeglut, ghostscriptX, imagemagick, fftw
33
, boehmgc, mesa_glu, mesa_noglu, ncurses, readline, gsl, libsigsegv
44
, python, zlib, perl, texLive, texinfo, xz
5+
, darwin
56
}:
67

78
let
@@ -20,6 +21,8 @@ let
2021
python zlib perl texLive texinfo xz ]
2122
++ stdenv.lib.optionals stdenv.isLinux
2223
[ freeglut mesa_glu mesa_noglu mesa_noglu.osmesa ]
24+
++ stdenv.lib.optionals stdenv.isDarwin
25+
(with darwin.apple_sdk.frameworks; [ OpenGL GLUT Cocoa ])
2326
;
2427
in
2528
stdenv.mkDerivation {

0 commit comments

Comments
 (0)
Please sign in to comment.