summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-03-03 12:15:58 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-03-03 12:15:58 +0000
commitb479679b94aa898b105a46e58fa0b6cf95393363 (patch)
tree27c69a5eafe0a589177a820b67dbe83000dca679 /pkgs/development
parent5a568ee185e43738e102c4a28f965787e7744866 (diff)
downloadnixpkgs-b479679b94aa898b105a46e58fa0b6cf95393363.tar
nixpkgs-b479679b94aa898b105a46e58fa0b6cf95393363.tar.gz
nixpkgs-b479679b94aa898b105a46e58fa0b6cf95393363.tar.bz2
nixpkgs-b479679b94aa898b105a46e58fa0b6cf95393363.tar.lz
nixpkgs-b479679b94aa898b105a46e58fa0b6cf95393363.tar.xz
nixpkgs-b479679b94aa898b105a46e58fa0b6cf95393363.tar.zst
nixpkgs-b479679b94aa898b105a46e58fa0b6cf95393363.zip
Fixing typos in the oprofile expression
svn path=/nixpkgs/trunk/; revision=32752
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/tools/profiling/oprofile/default.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/development/tools/profiling/oprofile/default.nix b/pkgs/development/tools/profiling/oprofile/default.nix
index fdd4ad6f027..4e4bcd3f9b6 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"					\