diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2020-02-10 23:10:53 +0100 |
---|---|---|
committer | Michael Weiss <dev.primeos@gmail.com> | 2020-02-10 23:18:20 +0100 |
commit | 5282bc9a748b1dbf2da2a450f522fdbbff192780 (patch) | |
tree | 64864cdf1a5e58cf35964d99ed09cff2d1955d9e /pkgs/misc/brightnessctl | |
parent | cf5dd2623bb5518257d0edbb50a84093f08086bb (diff) |
nixos/brightnessctl: Remove the module
Due to the support of the systemd-logind API the udev rules aren't required anymore which renders this module useless [0]. Note: brightnessctl should now require a working D-Bus setup and a valid local logind session for this to work. [0]: https://github.com/NixOS/nixpkgs/pull/79663
Diffstat (limited to 'pkgs/misc/brightnessctl')
-rw-r--r-- | pkgs/misc/brightnessctl/default.nix | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pkgs/misc/brightnessctl/default.nix b/pkgs/misc/brightnessctl/default.nix index 387216e052f9a..37956785a5bb1 100644 --- a/pkgs/misc/brightnessctl/default.nix +++ b/pkgs/misc/brightnessctl/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, coreutils, pkg-config, systemd }: +{ stdenv, fetchFromGitHub, pkg-config, systemd }: stdenv.mkDerivation rec { pname = "brightnessctl"; @@ -13,12 +13,6 @@ stdenv.mkDerivation rec { makeFlags = [ "PREFIX=" "DESTDIR=$(out)" "ENABLE_SYSTEMD=1" ]; - postPatch = '' - substituteInPlace 90-brightnessctl.rules --replace /bin/ ${coreutils}/bin/ - # For backward compatibility with the NixOS module / udev approach: - substituteInPlace Makefile --replace "INSTALL_UDEV_RULES=0" "INSTALL_UDEV_RULES=1" - ''; - nativeBuildInputs = [ pkg-config ]; buildInputs = [ systemd ]; |