diff --git a/pkgs/development/libraries/qt-4.5/default.nix b/pkgs/development/libraries/qt-4.5/default.nix index 7aebc9c8ad1..167194b209a 100644 --- a/pkgs/development/libraries/qt-4.5/default.nix +++ b/pkgs/development/libraries/qt-4.5/default.nix @@ -56,10 +56,8 @@ stdenv.mkDerivation { ${if buildDemos == true then "" else "-nomake demos"} ${if buildExamples == true then "" else "-nomake examples"} ''; - - # For some reason I cannot automatically choose the edition, except by passing - # 'o' the the stdin of configure - configureScript = "yes o | ./configure"; + + configurePhase = "echo o | ./configure $configureFlags"; patchPhase = '' substituteInPlace configure --replace /bin/pwd pwd