summary refs log tree commit diff
diff options
context:
space:
mode:
-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"					\