oprofile: fix via minor update

This commit is contained in:
Vladimír Čunát 2013-02-23 23:49:48 +01:00
parent 4768a0cea6
commit 25d00bf765

View File

@ -6,11 +6,11 @@
assert withGUI -> qt4 != null; assert withGUI -> qt4 != null;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "oprofile-0.9.7"; name = "oprofile-0.9.8";
src = fetchurl { src = fetchurl {
url = "mirror://sourceforge/oprofile/${name}.tar.gz"; url = "mirror://sourceforge/oprofile/${name}.tar.gz";
sha256 = "09ymfgcvp6372xnxdbq664ba8f4nzz4cxlya7wi8s1gabmym0nyb"; sha256 = "1g31lwgpacql6w5z1z2f31pgwzn14rgsbh7kmmdmsgm2l47r0idb";
}; };
patchPhase = '' patchPhase = ''
@ -23,8 +23,7 @@ stdenv.mkDerivation rec {
buildInputs = [ binutils zlib popt makeWrapper gawk which gnugrep pkgconfig ] buildInputs = [ binutils zlib popt makeWrapper gawk which gnugrep pkgconfig ]
++ stdenv.lib.optionals withGUI [ qt4 ]; ++ stdenv.lib.optionals withGUI [ qt4 ];
configureFlags = configureFlags = [
[ "--with-kernel-support"
"--disable-shared" # needed because only the static libbfd is available "--disable-shared" # needed because only the static libbfd is available
] ]
++ stdenv.lib.optional withGUI "--with-qt-dir=${qt4} --enable-gui=qt4"; ++ stdenv.lib.optional withGUI "--with-qt-dir=${qt4} --enable-gui=qt4";