mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
oprofile: fix via minor update
This commit is contained in:
parent
4768a0cea6
commit
25d00bf765
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user