From 249badd76f328219106681429f00332378966f0d Mon Sep 17 00:00:00 2001 From: Joachim Schiele Date: Sun, 10 Jun 2012 22:35:35 +0000 Subject: [PATCH] a minor update as the package seems to be incomplete svn path=/nixpkgs/trunk/; revision=34428 --- pkgs/development/libraries/qt-mobility/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/qt-mobility/default.nix b/pkgs/development/libraries/qt-mobility/default.nix index 2c299305410..71ec5e77a73 100644 --- a/pkgs/development/libraries/qt-mobility/default.nix +++ b/pkgs/development/libraries/qt-mobility/default.nix @@ -17,12 +17,16 @@ stdenv.mkDerivation rec { ''; # we need to prevent the 'make install' to want to write to ${qt4}! + # according to thiago#qt@freenode these are used for the QML engine preBuild = '' for i in connectivity contacts feedback gallery location multimedia organizer publishsubscribe sensors serviceframework systeminfo; do substituteInPlace plugins/declarative/$i/Makefile --replace "${qt4}/lib/qt4/imports/" "$out/lib/qt4/imports/" - done ''; + # Features files (*.prf) are not installed on nixos + # https://bugreports.qt-project.org/browse/QTMOBILITY-1085 + # - features/mobility.prf (/tmp/nix-build-9kh12nhf9cyplfwiws96gz414v6wgl67-qt-mobility-1.2.0.drv-0/qt-mobility-opensource-src-1.2.0) + patchPhase = '' # required to make the configure script work substituteInPlace configure --replace "/bin/pwd" "${coreutils}/bin/pwd" @@ -34,7 +38,7 @@ stdenv.mkDerivation rec { substituteInPlace bin/pathhelper --replace "/usr/bin/perl" "${perl}/bin/perl" ''; - buildInputs = [ qt4 libX11 bluez perl]; + buildInputs = [ qt4 libX11 bluez perl ]; meta = { description = "Qt Mobility";