Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

rtkit: Update from 0.10 to 0.11

+13 -4
+5
nixos/modules/security/rtkit.nix
··· 25 26 config = mkIf config.security.rtkit.enable { 27 28 environment.systemPackages = [ pkgs.rtkit ]; 29 30 services.dbus.packages = [ pkgs.rtkit ]; 31
··· 25 26 config = mkIf config.security.rtkit.enable { 27 28 + security.polkit.enable = true; 29 + 30 + # To make polkit pickup rtkit policies 31 environment.systemPackages = [ pkgs.rtkit ]; 32 + 33 + systemd.packages = [ pkgs.rtkit ]; 34 35 services.dbus.packages = [ pkgs.rtkit ]; 36
+8 -4
pkgs/os-specific/linux/rtkit/default.nix
··· 1 { stdenv, fetchurl, pkgconfig, dbus, libcap }: 2 3 stdenv.mkDerivation rec { 4 - name = "rtkit-0.10"; 5 6 src = fetchurl { 7 - url = "http://0pointer.de/public/${name}.tar.gz"; 8 - sha256 = "08118ya3pkxd6gbbshas23xwj483169fqmxzhp5sgmfr16n97skl"; 9 }; 10 11 buildInputs = [ pkgconfig dbus libcap ]; 12 - 13 meta = { 14 homepage = http://0pointer.de/blog/projects/rtkit; 15 descriptions = "A daemon that hands out real-time priority to processes";
··· 1 { stdenv, fetchurl, pkgconfig, dbus, libcap }: 2 3 stdenv.mkDerivation rec { 4 + name = "rtkit-0.11"; 5 6 src = fetchurl { 7 + url = "http://0pointer.de/public/${name}.tar.xz"; 8 + sha256 = "1l5cb1gp6wgpc9vq6sx021qs6zb0nxg3cn1ba00hjhgnrw4931b8"; 9 }; 10 11 + configureFlags = [ 12 + "--with-systemdsystemunitdir=$(out)/etc/systemd/system" 13 + ]; 14 + 15 buildInputs = [ pkgconfig dbus libcap ]; 16 + 17 meta = { 18 homepage = http://0pointer.de/blog/projects/rtkit; 19 descriptions = "A daemon that hands out real-time priority to processes";