diff --git a/pkgs/development/libraries/qt-4.5/default.nix b/pkgs/development/libraries/qt-4.5/default.nix index 32e4e095df77..87381988c821 100644 --- a/pkgs/development/libraries/qt-4.5/default.nix +++ b/pkgs/development/libraries/qt-4.5/default.nix @@ -45,12 +45,11 @@ stdenv.mkDerivation { ]; prefixKey = "-prefix "; - + configureFlags = '' - -prefix $out -v -no-separate-debug-info -release -system-zlib -system-libpng -system-libjpeg -fast - -qt-gif -confirm-license + -qt-gif -confirm-license -opensource -opengl -xrender -xrandr -xinerama -xcursor -qt-sql-mysql -qdbus -cups -glib -xfixes -dbus-linked -fontconfig -I${freetype}/include/freetype2 @@ -58,8 +57,6 @@ stdenv.mkDerivation { ${if buildExamples == true then "" else "-nomake examples"} ''; - configurePhase = "echo o | ./configure $configureFlags"; - patchPhase = '' substituteInPlace configure --replace /bin/pwd pwd sed -e 's@/usr@/FOO@' -i config.tests/*/*.test -i mkspecs/*/*.conf