3
0
Fork 0
forked from mirrors/nixpkgs

murmur_git: Fix

Was failing with the following error:

  ServerDB: Database driver QSQLITE not available
This commit is contained in:
Silvan Mosberger 2019-02-20 06:29:03 +01:00
parent 55757a0d44
commit 3b2168e2be
No known key found for this signature in database
GPG key ID: 9424360B4B85C9E7

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, fetchFromGitHub, fetchpatch, pkgconfig
{ stdenv, fetchurl, fetchFromGitHub, fetchpatch, makeWrapper, pkgconfig
, qt4, qmake4Hook, qt5, avahi, boost, libopus, libsndfile, protobuf, speex, libcap
, alsaLib, python
, jackSupport ? false, libjack2 ? null
@ -154,5 +154,12 @@ in {
murmur = server stableSource;
murmur_git = (server gitSource).overrideAttrs (old: {
meta = old.meta // { broken = iceSupport; };
nativeBuildInputs = old.nativeBuildInputs or [] ++ [ makeWrapper ];
installPhase = old.installPhase or "" + ''
wrapProgram $out/bin/murmurd --suffix QT_PLUGIN_PATH : \
${getBin qt5.qtbase}/${qt5.qtbase.qtPluginPrefix}
'';
});
}