Skip to content

Commit b63b5ed

Browse files
committed
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] util-linux/util-linux@d17fb72 [2] https://git.sipsolutions.net/rfkill.git/log/
1 parent dd0c15b commit b63b5ed

File tree

6 files changed

+7
-29
lines changed

6 files changed

+7
-29
lines changed

nixos/modules/tasks/network-interfaces.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,6 @@ in
11291129
++ optionals config.networking.wireless.enable [
11301130
pkgs.wirelesstools # FIXME: obsolete?
11311131
pkgs.iw
1132-
pkgs.rfkill
11331132
]
11341133
++ bridgeStp;
11351134

pkgs/desktops/deepin/dde-api/default.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
, librsvg
2121
, poppler
2222
, pulseaudio
23-
, rfkill
23+
, utillinux
2424
, xcur2png
2525
}:
2626

@@ -49,7 +49,7 @@ buildGoPackage rec {
4949
blur-effect # run (is it really needed?)
5050
coreutils # run (is it really needed?)
5151
fontconfig # run (is it really needed?)
52-
rfkill # run
52+
utillinux # run
5353
xcur2png # run
5454
grub2 # run (is it really needed?)
5555
];

pkgs/os-specific/linux/rfkill/default.nix

Lines changed: 0 additions & 20 deletions
This file was deleted.

pkgs/tools/bluetooth/blueberry/default.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
, intltool
99
, pavucontrol
1010
, python3Packages
11-
, rfkill
11+
, utillinux
1212
, wrapGAppsHook
1313
}:
1414

@@ -34,7 +34,7 @@ stdenv.mkDerivation rec {
3434
cinnamon.xapps
3535
gnome3.gnome-bluetooth
3636
python3Packages.python
37-
rfkill
37+
utillinux
3838
];
3939

4040
pythonPath = with python3Packages; [
@@ -68,8 +68,8 @@ stdenv.mkDerivation rec {
6868
--replace /usr/lib/blueberry $out/lib/blueberry \
6969
--replace /usr/share $out/share
7070
substituteInPlace $out/lib/blueberry/rfkillMagic.py \
71-
--replace /usr/bin/rfkill ${rfkill}/bin/rfkill \
72-
--replace /usr/sbin/rfkill ${rfkill}/bin/rfkill \
71+
--replace /usr/bin/rfkill ${utillinux}/bin/rfkill \
72+
--replace /usr/sbin/rfkill ${utillinux}/bin/rfkill \
7373
--replace /usr/lib/blueberry $out/lib/blueberry
7474
substituteInPlace $out/share/applications/blueberry.desktop \
7575
--replace Exec=blueberry Exec=$out/bin/blueberry

pkgs/top-level/aliases.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,7 @@ mapAliases ({
470470
recordmydesktop = throw "recordmydesktop has been removed from nixpkgs, as it's unmaintained and uses deprecated libraries"; # added 2019-12-10
471471
gtk-recordmydesktop = throw "gtk-recordmydesktop has been removed from nixpkgs, as it's unmaintained and uses deprecated libraries"; # added 2019-12-10
472472
qt-recordmydesktop = throw "qt-recordmydesktop has been removed from nixpkgs, as it's abandoned and uses deprecated libraries"; # added 2019-12-10
473+
rfkill = throw "rfkill has been removed, as it's included in util-linux"; # added 2020-08-23
473474
rkt = throw "rkt was archived by upstream"; # added 2020-05-16
474475
ruby_2_0_0 = throw "deprecated 2018-0213: use a newer version of ruby";
475476
ruby_2_1_0 = throw "deprecated 2018-0213: use a newer version of ruby";

pkgs/top-level/all-packages.nix

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18149,8 +18149,6 @@ in
1814918149

1815018150
regionset = callPackage ../os-specific/linux/regionset { };
1815118151

18152-
rfkill = callPackage ../os-specific/linux/rfkill { };
18153-
1815418152
rfkill_udev = callPackage ../os-specific/linux/rfkill/udev.nix { };
1815518153

1815618154
riscv-pk = callPackage ../misc/riscv-pk { };

0 commit comments

Comments
 (0)