This update was generated by hackage2nix v20150922-36-ge0ee7ef using the following inputs:
- Nixpkgs: 7c001f31b0
- Hackage: 46f2de463b
- LTS Haskell: 1ae555e197
- Stackage Nightly: 4113b2e369
gksudo wasn't working because libgksu used wrong sudo file which doesn't have setuid bit
Committer: it isn't optimal, as it won't work on non-NixOS. I've got a
patch for it to use relative paths, but apparently something's wrong
with it and I don't want to kill much more time with it ATM.
This update was generated by hackage2nix v20150922-36-ge0ee7ef using the following inputs:
- Nixpkgs: 29fff27a55
- Hackage: fccc42cccb
- LTS Haskell: 1ae555e197
- Stackage Nightly: ec7b421c66
When building with Qt 5.4 this is not a problem, but with Qt 5.5 (tested
locally), it is clear that this dependency is missing:
$ ./result/bin/qtcreator
file:///nix/store/zmpf6ydrjdydd85wh6splpywv6aj4782-qtcreator-3.4.2/share/qtcreator/welcomescreen/welcomescreen.qml:31:1:
module "QtQuick" is not installed
import QtQuick 2.1
^
With Qt 5.4 something else is pulling in the qtdeclarative dependency,
it can be seen in the qtcreator wrapper script.
Note to self: "import QtQuick" != qtquickcontrols. QtQuick is
apparently located in the qtdeclarative module.
Without this, configure will say:
Checking for openal... no
/tmp/nix-build-qtmultimedia-5.5.0.drv-0/qtmultimedia-opensource-src-5.5.0/qtmultimedia.pro:28:
Variable GST_VERSION is not defined.
Checking for resourcepolicy... no
And there may be application runtime errors like
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera"
After this fix, configure will say:
Checking for openal... no
Checking for gstreamer... yes
Checking for gstreamer_photography... no
Checking for gstreamer_encodingprofiles... yes
Checking for gstreamer_appsrc... yes
Checking for linux_v4l... yes
Checking for resourcepolicy... no
And the above runtime error will not appear.
This fix is similar to 449b6028 ("qt5.multimedia: fix gstreamer
support."), except with Qt 5.5 we also need to set GST_VERSION.