parent
b04e939a13
commit
8a93595550
@ -0,0 +1,19 @@ |
||||
{ config, lib, pkgs, ... }: |
||||
|
||||
{ |
||||
options = { |
||||
services.sysprof = { |
||||
enable = lib.mkEnableOption "sysprof profiling daemon"; |
||||
}; |
||||
}; |
||||
|
||||
config = lib.mkIf config.services.sysprof.enable { |
||||
environment.systemPackages = [ pkgs.sysprof ]; |
||||
|
||||
services.dbus.packages = [ pkgs.sysprof ]; |
||||
|
||||
systemd.packages = [ pkgs.sysprof ]; |
||||
}; |
||||
|
||||
meta.maintainers = pkgs.sysprof.meta.maintainers; |
||||
} |
@ -1,17 +0,0 @@ |
||||
--- sysprof-1.0.10/configure 2008-04-28 01:41:25.000000000 +0200
|
||||
+++ sysprof-1.0.10/configure 2008-06-07 15:40:07.000000000 +0200
|
||||
@@ -3342,14 +3342,6 @@ if test $kernel_module = "yes"; then
|
||||
echo \*
|
||||
exit 1
|
||||
fi
|
||||
-
|
||||
- if ! test -f /lib/modules/`uname -r`/build/Makefile ; then
|
||||
- echo \*
|
||||
- echo \* Sysprof requires the kernel source code to be installed.
|
||||
- echo \* On a Fedora Core system the relevant package is kernel-devel
|
||||
- echo \*
|
||||
- exit 1
|
||||
- fi
|
||||
fi
|
||||
|
||||
# Pkgconfig dependencies
|
Loading…
Reference in new issue