mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
rtkit: Update from 0.10 to 0.11
This commit is contained in:
parent
3ad27289fc
commit
5db9287b7c
@ -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
|
||||
|
@ -1,13 +1,17 @@
|
||||
{ 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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user