about summary refs log tree commit diff
path: root/pkgs/development/tools/profiling
diff options
context:
space:
mode:
authorajs124 <git@ajs124.de>2022-05-10 15:37:22 +0100
committerajs124 <git@ajs124.de>2022-05-25 01:24:07 +0200
commita661cfe9c2d9e945c5c90515390dc177f47f13c5 (patch)
treeefda71ca7e345bac7dc27e002eb43dd40cd422c1 /pkgs/development/tools/profiling
parent824ad4fe309cfdadcb8614c0cfb2f1784325f615 (diff)
oprofile: remove withGUI
hasn't been supported since 2014
see 0c142c3a096d3e9ec42cc9b0ddad994fea60d135 upstream
Diffstat (limited to 'pkgs/development/tools/profiling')
-rw-r--r--pkgs/development/tools/profiling/oprofile/default.nix14
1 files changed, 4 insertions, 10 deletions
diff --git a/pkgs/development/tools/profiling/oprofile/default.nix b/pkgs/development/tools/profiling/oprofile/default.nix
index 08f89d482dddf..3bedc45c8d100 100644
--- a/pkgs/development/tools/profiling/oprofile/default.nix
+++ b/pkgs/development/tools/profiling/oprofile/default.nix
@@ -1,12 +1,8 @@
 { lib, stdenv, buildPackages
 , fetchurl, pkg-config
 , libbfd, popt, zlib, linuxHeaders, libiberty_static
-, withGUI ? false, qt4 ? null
 }:
 
-# libX11 is needed because the Qt build stuff automatically adds `-lX11'.
-assert withGUI -> qt4 != null;
-
 stdenv.mkDerivation rec {
   pname = "oprofile";
   version = "1.4.0";
@@ -23,14 +19,12 @@ stdenv.mkDerivation rec {
   '';
 
   nativeBuildInputs = [ pkg-config ];
-  buildInputs = [ libbfd zlib popt linuxHeaders libiberty_static ]
-    ++ lib.optionals withGUI [ qt4 ];
+  buildInputs = [ libbfd zlib popt linuxHeaders libiberty_static ];
 
   configureFlags = [
-      "--with-kernel=${linuxHeaders}"
-      "--disable-shared"   # needed because only the static libbfd is available
-    ]
-    ++ lib.optional withGUI "--with-qt-dir=${qt4} --enable-gui=qt4";
+    "--with-kernel=${linuxHeaders}"
+    "--disable-shared"   # needed because only the static libbfd is available
+  ];
 
   meta = {
     description = "System-wide profiler for Linux";