ruby_1_8_7: Fix on Darwin
commita634c110756b7ed97ea16ada8a9c70517cca8a95
authorSpencer Whitt <sw@swhitt.me>
dateThu 14 May 2015, 15:14 (12 years ago)
parent94362af
pkgs/development/interpreters/ruby/ruby-1.8.7.nix+3
@@ -60,6 +60,9 @@ stdenv.mkDerivation rec {
6060 ];
6161
6262 configureFlags = [ "--enable-shared" "--enable-pthread" ]
63+ # Without this fails due to not finding X11/Xlib.h
64+ # Not sure why this isn't required on Linux
65+ ++ ops stdenv.isDarwin [ "--without-tcl" "--without-tk" ]
6366 ++ op useRailsExpress "--with-baseruby=${baseruby}/bin/ruby";
6467
6568 installFlags = stdenv.lib.optionalString docSupport "install-doc";