tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
rtkit: Update from 0.10 to 0.11
Rickard Nilsson
11 years ago
5db9287b
3ad27289
+13
-4
2 changed files
expand all
collapse all
unified
split
nixos
modules
security
rtkit.nix
pkgs
os-specific
linux
rtkit
default.nix
+5
nixos/modules/security/rtkit.nix
···
25
25
26
26
config = mkIf config.security.rtkit.enable {
27
27
28
28
+
security.polkit.enable = true;
29
29
+
30
30
+
# To make polkit pickup rtkit policies
28
31
environment.systemPackages = [ pkgs.rtkit ];
32
32
+
33
33
+
systemd.packages = [ pkgs.rtkit ];
29
34
30
35
services.dbus.packages = [ pkgs.rtkit ];
31
36
+8
-4
pkgs/os-specific/linux/rtkit/default.nix
···
1
1
{ stdenv, fetchurl, pkgconfig, dbus, libcap }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
-
name = "rtkit-0.10";
4
4
+
name = "rtkit-0.11";
5
5
6
6
src = fetchurl {
7
7
-
url = "http://0pointer.de/public/${name}.tar.gz";
8
8
-
sha256 = "08118ya3pkxd6gbbshas23xwj483169fqmxzhp5sgmfr16n97skl";
7
7
+
url = "http://0pointer.de/public/${name}.tar.xz";
8
8
+
sha256 = "1l5cb1gp6wgpc9vq6sx021qs6zb0nxg3cn1ba00hjhgnrw4931b8";
9
9
};
10
10
11
11
+
configureFlags = [
12
12
+
"--with-systemdsystemunitdir=$(out)/etc/systemd/system"
13
13
+
];
14
14
+
11
15
buildInputs = [ pkgconfig dbus libcap ];
12
12
-
16
16
+
13
17
meta = {
14
18
homepage = http://0pointer.de/blog/projects/rtkit;
15
19
descriptions = "A daemon that hands out real-time priority to processes";