lol

oprofile: remove withGUI

hasn't been supported since 2014
see 0c142c3a096d3e9ec42cc9b0ddad994fea60d135 upstream

ajs124 a661cfe9 824ad4fe

+4 -10
+4 -10
pkgs/development/tools/profiling/oprofile/default.nix
··· 1 1 { lib, stdenv, buildPackages 2 2 , fetchurl, pkg-config 3 3 , libbfd, popt, zlib, linuxHeaders, libiberty_static 4 - , withGUI ? false, qt4 ? null 5 4 }: 6 - 7 - # libX11 is needed because the Qt build stuff automatically adds `-lX11'. 8 - assert withGUI -> qt4 != null; 9 5 10 6 stdenv.mkDerivation rec { 11 7 pname = "oprofile"; ··· 23 19 ''; 24 20 25 21 nativeBuildInputs = [ pkg-config ]; 26 - buildInputs = [ libbfd zlib popt linuxHeaders libiberty_static ] 27 - ++ lib.optionals withGUI [ qt4 ]; 22 + buildInputs = [ libbfd zlib popt linuxHeaders libiberty_static ]; 28 23 29 24 configureFlags = [ 30 - "--with-kernel=${linuxHeaders}" 31 - "--disable-shared" # needed because only the static libbfd is available 32 - ] 33 - ++ lib.optional withGUI "--with-qt-dir=${qt4} --enable-gui=qt4"; 25 + "--with-kernel=${linuxHeaders}" 26 + "--disable-shared" # needed because only the static libbfd is available 27 + ]; 34 28 35 29 meta = { 36 30 description = "System-wide profiler for Linux";