diff --git a/pkgs/development/libraries/qt-5/5.5/qtbase/setup-hook.sh b/pkgs/development/libraries/qt-5/5.5/qtbase/setup-hook.sh index 33380ce0d97..d5e9eff60ef 100644 --- a/pkgs/development/libraries/qt-5/5.5/qtbase/setup-hook.sh +++ b/pkgs/development/libraries/qt-5/5.5/qtbase/setup-hook.sh @@ -65,7 +65,7 @@ setQMakePath() { qtOut="" if [[ -z "$NIX_QT_SUBMODULE" ]]; then - qtOut="$PWD/qmake-$name" + qtOut=`mktemp -d` else qtOut=$out fi