rfkill: remove

rfkill was subsumed by util-linux in 2017 [1], and the upstream has not
been updated in over 5 years [2]. This package shadows the rfkill from
util-linux, so it can be completely removed with no breaking changes,
because util-linux is in the base package set in nixos/system-path.

[1] d17fb726b5
[2] https://git.sipsolutions.net/rfkill.git/log/
This commit is contained in:
V
2020-08-23 17:16:30 +02:00
parent dd0c15b341
commit b63b5eda68
6 changed files with 7 additions and 29 deletions

View File

@@ -8,7 +8,7 @@
, intltool
, pavucontrol
, python3Packages
, rfkill
, utillinux
, wrapGAppsHook
}:
@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
cinnamon.xapps
gnome3.gnome-bluetooth
python3Packages.python
rfkill
utillinux
];
pythonPath = with python3Packages; [
@@ -68,8 +68,8 @@ stdenv.mkDerivation rec {
--replace /usr/lib/blueberry $out/lib/blueberry \
--replace /usr/share $out/share
substituteInPlace $out/lib/blueberry/rfkillMagic.py \
--replace /usr/bin/rfkill ${rfkill}/bin/rfkill \
--replace /usr/sbin/rfkill ${rfkill}/bin/rfkill \
--replace /usr/bin/rfkill ${utillinux}/bin/rfkill \
--replace /usr/sbin/rfkill ${utillinux}/bin/rfkill \
--replace /usr/lib/blueberry $out/lib/blueberry
substituteInPlace $out/share/applications/blueberry.desktop \
--replace Exec=blueberry Exec=$out/bin/blueberry