rtkit: Update from 0.10 to 0.11

This commit is contained in:
Rickard Nilsson 2014-04-18 12:21:20 +02:00
parent 3ad27289fc
commit 5db9287b7c
2 changed files with 13 additions and 4 deletions

View file

@ -25,8 +25,13 @@ with lib;
config = mkIf config.security.rtkit.enable {
security.polkit.enable = true;
# To make polkit pickup rtkit policies
environment.systemPackages = [ pkgs.rtkit ];
systemd.packages = [ pkgs.rtkit ];
services.dbus.packages = [ pkgs.rtkit ];
users.extraUsers = singleton

View file

@ -1,15 +1,19 @@
{ stdenv, fetchurl, pkgconfig, dbus, libcap }:
stdenv.mkDerivation rec {
name = "rtkit-0.10";
name = "rtkit-0.11";
src = fetchurl {
url = "http://0pointer.de/public/${name}.tar.gz";
sha256 = "08118ya3pkxd6gbbshas23xwj483169fqmxzhp5sgmfr16n97skl";
url = "http://0pointer.de/public/${name}.tar.xz";
sha256 = "1l5cb1gp6wgpc9vq6sx021qs6zb0nxg3cn1ba00hjhgnrw4931b8";
};
configureFlags = [
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
];
buildInputs = [ pkgconfig dbus libcap ];
meta = {
homepage = http://0pointer.de/blog/projects/rtkit;
descriptions = "A daemon that hands out real-time priority to processes";