From b479679b94aa898b105a46e58fa0b6cf95393363 Mon Sep 17 00:00:00 2001 From: LluĂ­s Batlle i Rossell Date: Sat, 3 Mar 2012 12:15:58 +0000 Subject: Fixing typos in the oprofile expression svn path=/nixpkgs/trunk/; revision=32752 --- pkgs/development/tools/profiling/oprofile/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pkgs/development/tools/profiling') diff --git a/pkgs/development/tools/profiling/oprofile/default.nix b/pkgs/development/tools/profiling/oprofile/default.nix index fdd4ad6f0272..4e4bcd3f9b62 100644 --- a/pkgs/development/tools/profiling/oprofile/default.nix +++ b/pkgs/development/tools/profiling/oprofile/default.nix @@ -3,7 +3,7 @@ , withGUI ? false , qt4 ? null}: # libX11 is needed because the Qt build stuff automatically adds `-lX11'. -assert withGui -> qt4 != null; +assert withGUI -> qt4 != null; stdenv.mkDerivation rec { name = "oprofile-0.9.7"; @@ -21,13 +21,13 @@ stdenv.mkDerivation rec { ''; buildInputs = [ binutils zlib popt makeWrapper gawk which gnugrep pkgconfig ] - ++ stdenv.lib.optionals withGui [ qt4 ]; + ++ stdenv.lib.optionals withGUI [ qt4 ]; configureFlags = [ "--with-kernel-support" "--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"; postInstall = '' wrapProgram "$out/bin/opcontrol" \ -- cgit 1.4.1