nixpkgs-suyu/pkgs/os-specific/linux
Adam Joseph 42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
..
915resolution
acpi
acpi-call
acpid
acpitool
adcli
afuse
akvcam
alsa-project
amdgpu-pro
anbox
android-udev-rules android-udev-rules: 20220611 -> 20230104 2023-01-05 18:05:28 -06:00
apfs linuxPackages.apfs: unstable-2022-08-15 -> unstable-2022-10-20 2022-12-05 15:21:51 +01:00
apparmor
aseq2json
asus-ec-sensors
asus-wmi-sensors
atop
audit
autofs
autosuspend treewide: switch to nativeCheckInputs 2023-01-21 12:00:00 +00:00
ax99100
batman-adv
bbswitch
bcc linuxPackages.bcc: 0.25.0 -> 0.26.0 2022-12-18 00:10:29 +01:00
beefi
below below: don't use aliases 2022-12-15 20:49:36 +08:00
bionic-prebuilt
blktrace
bluez pkgsMusl.bluez: fix build 2022-12-16 10:00:22 +01:00
bolt treewide: switch to nativeCheckInputs 2023-01-21 12:00:00 +00:00
bpfmon bpfmon: add changelog to meta 2023-01-07 23:28:51 +01:00
bpftools
bpftrace bpftrace: 0.15.0 -> 0.16.0 2022-12-01 12:51:25 +09:00
bridge-utils
brillo brillo: 1.4.11 -> 1.4.12 2023-01-13 17:53:16 +08:00
broadcom-sta broadcom_sta: fix build on linux 6.1 2022-12-15 15:26:18 +08:00
btfs
busybox
cachefilesd
can-isotp
can-utils
catfs catfs: patch to compile using rust 1.65 2022-12-17 10:02:35 -08:00
cfs-zen-tweaks
checkpolicy
checksec
chromium-xorg-conf
cifs-utils
compsize
conky treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
conntrack-tools
consoletools
conspy
cpufrequtils
cpuid cpuid: 20221003 -> 20221201 2022-12-03 22:29:06 +01:00
cpupower
cpupower-gui
cpuset
cpustat
cramfsprogs
cramfsswap
crda
criu
cryptodev linuxPackages.cryptodev: cleanup and fix cross compilation 2023-01-20 13:43:19 +08:00
cryptsetup
cshatag
dbus-broker
ddcci ddcci-driver: patch to support linux 6.1 2023-01-02 17:24:09 +01:00
dddvb
device-tree
devmem2
digimend
directvnc
disk-indicator
displaylink
dmidecode
dmraid
dmtcp
dpdk
dpdk-kmods
dracut dracut: init at 059 2023-01-16 10:53:16 -06:00
drbd
dropwatch
dstat
e1000e
earlyoom
ebtables
edac-utils
ell treewide: switch to nativeCheckInputs 2023-01-21 12:00:00 +00:00
ena
erofs-utils
error-inject
eudev eudev: remove glib from buildInputs 2023-01-02 23:38:43 -08:00
evdi
eventstat
exfat
extrace
facetimehd
fan2go
fatrace
fbterm
ffado
firejail firejail: 0.9.70 -> 0.9.72 2023-01-17 15:56:01 +01:00
firmware treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
flashbench
fnotifystat fnotifystat: 0.02.08 -> 0.02.09 2022-12-25 12:02:21 +01:00
forkstat
forktty
freefall
fscrypt
fscryptctl
fsverity-utils
fswebcam
ftop
fuse treewide: switch to nativeCheckInputs 2023-01-21 12:00:00 +00:00
fwts fwts: fixup build by using older make 2022-12-16 20:04:17 +01:00
fxload fxload: updated to newer version from libusb1 2023-01-02 17:30:04 -06:00
g15daemon
gcadapter-oc-kmod
gfxtablet
gobi_loader
google-authenticator
gpu-switch
gradm
gt
guvcview
hd-idle
hdapsd
hdparm
health-check
hibernate
hid-ite8291r3
hid-nintendo
hostapd hostapd: update homepage 2022-12-16 08:23:20 +00:00
hwdata
hyperv-daemons linuxPackages.hyperv-daemons: add path conditions for kvp and vss 2022-12-04 15:25:26 +01:00
i2c-tools
i7z
i810switch
ifenslave
ifmetric
iio-sensor-proxy
ima-evm-utils
input-utils
intel-cmt-cat intel-cmt-cat: 4.4.1 -> 4.5.0 2022-12-16 09:12:51 +00:00
intel-compute-runtime intel-compute-runtime: 22.43.24558 -> 22.43.24595.35 2022-12-07 01:22:09 +01:00
intel-ocl
intel-speed-select
iomelt
ioport
iotop
iotop-c
ipp-usb ipp-usb: init at 0.9.23 2022-12-06 21:06:54 +01:00
iproute iproute2: 6.0.0 -> 6.1.0 (#206932) 2023-01-04 21:50:22 +01:00
ipset
iptables
iptstate
iputils treewide: switch to nativeCheckInputs 2023-01-21 12:00:00 +00:00
ipvsadm
irqbalance
isgx
it87
ithc
iw
iwd treewide: switch to nativeCheckInputs 2023-01-21 12:00:00 +00:00
ixgbevf
jfbview
jool
joycond
jujuutils
kbd
kbdlight
kernel linux/hardened/patches/6.1: 6.1.6-hardened1 -> 6.1.7-hardened1 2023-01-18 20:06:53 -06:00
kernel-headers linuxHeaders: 6.0 -> 6.1 2022-12-12 23:11:44 +00:00
kexec-tools
keyutils
kinect-audio-setup
klibc klibc: link initrd-network-ssh test 2022-12-02 11:29:46 +01:00
kmod
kmod-blacklist-ubuntu
kmod-debian-aliases
kmscon
kmscube
ksmbd-tools
kvdo
kvmfr
latencytop
ldm
ledger-udev-rules
libaio treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
libatasmart
libbpf libbpf: 1.0.1 -> 1.1.0 2022-12-24 17:53:04 +00:00
libcap
libcap-ng
libcgroup libcgroup: fix cross compilation 2022-12-16 14:13:03 +08:00
libevdevc
libgestures
libnl
libnss-mysql
libnvme
libpsm2
libratbag libratbag: 0.16 -> 0.17 2023-01-09 23:46:18 +00:00
libselinux
libsemanage
libsepol
libsmbios
libtraceevent
libtracefs
libudev0-shim
libvolume_id
libwebcam
libzbc
libzbd
light
lightum
linux-wifi-hotspot
linuxptp treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
liquidtux
lkrg
lksctp-tools treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
lm-sensors pkgsStatic.lm_sensors: fix build 2023-01-01 10:28:42 -05:00
lockdep treewide: switch to nativeCheckInputs 2023-01-21 12:00:00 +00:00
lsb-release deterministic-uname: init 2023-01-12 18:29:14 +02:00
lsirec treewide: mark packages broken that never built on PLATFORM 2022-12-13 21:40:12 +01:00
lsiutil
lsscsi
lttng-modules
lvm2
lxc
lxcfs
macchanger
mba6x_bl
mbp-modules/mbp2018-bridge-drv
mbpfan
mceinject
mcelog
mdadm
mdevctl mdevctl: remove patch, install more files 2022-12-25 15:31:25 -05:00
metastore
microcode
mingetty
miraclecast
mkinitcpio-nfs-utils
mmc-utils
molly-guard
msr
msr-tools
mstpd
multipath-tools treewide: switch to nativeCheckInputs 2023-01-21 12:00:00 +00:00
musl musl: add bin output. 2022-12-28 20:29:18 +02:00
musl-fts
musl-obstack
mwprocapture treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
mxu11x0
ndiswrapper
net-tools
netatop
new-lg4ff
nfs-utils
nftables nftables: 1.0.5 -> 1.0.6 2022-12-22 15:16:32 +01:00
nix-ld nix-ld: 1.0.2 -> 1.0.3 2022-12-19 17:06:41 +01:00
nixos-rebuild nixos: add --specialisation to nixos-rebuild 2023-01-15 18:16:49 +01:00
nmon
nsncd treewide: mark packages broken that never built on PLATFORM 2022-12-13 21:40:12 +01:00
nss_ldap
numactl
numad
numatop treewide: switch to nativeCheckInputs 2023-01-21 12:00:00 +00:00
numworks-udev-rules
nvidia-x11 linuxPackages.nvidia_x11_production: 525.78.01 -> 525.85.05 2023-01-19 20:21:12 +01:00
nvidiabl
nvme-cli
nvmet-cli
ocf-resource-agents
oci-seccomp-bpf-hook oci-seccomp-bpf-hook: 1.2.6 -> 1.2.8 2022-12-01 12:52:16 +09:00
odp-dpdk odp-dpdk: 1.35.0.0_DPDK_19.11 -> 1.37.0.0_DPDK_19.11 2022-12-04 18:15:41 +01:00
open-iscsi openiscsi: 2.1.7 -> 2.1.8 2023-01-17 01:07:14 +01:00
open-isns
opengl/xorg-sys treewide: source .attrs in builders 2022-12-08 21:09:02 +02:00
openrazer
openvswitch treewide: switch to nativeCheckInputs 2023-01-21 12:00:00 +00:00
otpw
oxtools
pagemon
pam
pam_ccreds
pam_gnupg
pam_krb5
pam_ldap
pam_mount
pam_mysql
pam_p11
pam_pgsql
pam_ssh_agent_auth
pam_tmpdir
pam_u2f
pam_usb
pam_ussh
pax-utils pax-utils: 1.3.5 -> 1.3.6 2023-01-07 08:20:51 +00:00
paxctl
paxtest
pcimem
pcm
pcmciautils
perf-tools
pflask
phc-intel
piper
pipework
pktgen
ply
plymouth
pm-utils
pmount
policycoreutils
pommed-light
power-calibrate
power-profiles-daemon treewide: switch to nativeCheckInputs 2023-01-21 12:00:00 +00:00
powercap
powerstat
powertop powertop: format with nixpkgs-fmt 2023-01-06 04:53:58 +01:00
pps-tools
prl-tools prl-tools: 18.1.0-53311 -> 18.1.1-53328 2022-12-15 17:48:45 +01:00
procdump
procps-ng treewide: systemdSupport: use lib.meta.availableOn 2023-01-22 00:27:19 -08:00
projecteur
pscircle
psftools
psmisc psmisc: fall back to kill when pidfd_send_signal fails 2022-12-09 08:32:09 +01:00
qc71_laptop
qmk-udev-rules
qperf
r8125
r8168
radeontools
radeontop
rasdaemon
raspberrypi-eeprom raspberrypi-eeprom: 2022.12.07-138a1 -> 2023.01.11-138c0 2023-01-19 11:15:43 +01:00
rdma-core rdma-core: 43.0 -> 44.0 2023-01-12 10:18:51 +00:00
read-edid
reap
regionset
reptyr treewide: switch to nativeCheckInputs 2023-01-21 12:00:00 +00:00
restool
rewritefs
rfkill
roccat-tools treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
rt-tests
rtkit
rtl88x2bu rtl88x2bu: 2022-08-18 -> 2022-12-17 2022-12-19 17:47:41 -03:00
rtl88xxau-aircrack
rtl8188eus-aircrack
rtl8189es
rtl8189fs
rtl8192eu
rtl8723bs
rtl8723ds
rtl8812au
rtl8814au
rtl8821au rtl8821au: 2022-08-22 -> 2022-12-22 2022-12-22 23:12:50 -05:00
rtl8821ce
rtl8821cu rtl8821cu: 2022-05-07 -> 2022-12-07 2022-12-14 22:14:36 +08:00
rtw88
rtw89 rtw89: unstable-2021-10-21 -> unstable-2022-12-18 2022-12-20 08:25:24 +01:00
ryzenadj
sasutils
sch_cake
schedtool
sd-switch
sdparm
selinux-python
selinux-sandbox
semodule-utils treewide: remove e-user from maintainers 2022-12-12 09:32:09 -03:00
service-wrapper
setools treewide: switch to nativeCheckInputs 2023-01-21 12:00:00 +00:00
seturgent
sgx Merge pull request #203449 from yaxitech/azure-quote-provider 2022-12-24 16:19:39 +01:00
shadow shadow: only use tcb where available 2023-01-13 04:19:29 +00:00
sinit
smem
smemstat
sssd treewide: remove e-user from maintainers 2022-12-12 09:32:09 -03:00
statifier
swapview
switcheroo-control
sydbox
syscall_limiter
sysdig sysdig: 0.29.3 -> 0.30.2 2022-12-12 17:06:11 +01:00
sysfsutils treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
sysklogd
syslinux
sysstat
system76
system76-acpi
system76-io
system76-power
systemd systemd.meta.badPlatforms: include isStatic predicate 2023-01-22 00:27:19 -08:00
systemd-wait
sysvinit
target-isns
targetcli
tbs
tcp-wrappers
teck-udev-rules
teensy-udev-rules
thunderbolt
tinyalsa
tiptop
tiscamera
tmon
tomb
tp_smapi
tpacpi-bat
trace-cmd
trezor-udev-rules
trinity
tuna
tunctl treewide: replace http by https when https is a permanent redirection 2023-01-22 02:46:49 +01:00
turbostat
tuxedo-keyboard linuxPackages.tuxedo-keyboard: 3.0.9 -> 3.1.1 2022-12-09 18:22:03 +01:00
uclibc-ng uclibc-ng: 1.0.41 -> 1.0.42 2023-01-09 23:28:30 +00:00
udisks
uhk-agent
uhk-udev-rules
ulogd nixos/ulogd: init 2022-12-28 00:17:28 +01:00
undervolt
unscd
unstick
untie
upower treewide: switch to nativeCheckInputs 2023-01-21 12:00:00 +00:00
usb-blaster-udev-rules
usbguard
usbip
usbrelay
usbtop
usbutils usbutils: 014 -> 015 2022-12-03 20:45:57 +03:00
usermount
util-linux treewide: systemdSupport: use lib.meta.availableOn 2023-01-22 00:27:19 -08:00
uvcdynctrl
v4l-utils
v4l2loopback
v86d
vdo
veikk-linux-driver
vendor-reset
virtio_vmmci
virtualbox
vm-tools
vmm_clock
vmware
waydroid waydroid: cleanup inputs 2023-01-03 17:44:47 +01:00
wireguard treewide: fix lints and remove a unneeded cmake input 2022-12-09 01:16:08 +02:00
wireless-tools
wiringpi
wooting-udev-rules
wpa_supplicant
x86_energy_perf_policy
x86info
xf86-input-cmt
xf86-input-wacom
xf86-video-nested
xone
xp-pen-drivers
xpadneo
xsensors
xsos
zenmonitor
zenpower
zenstates
zfs pkgsMusl.zfs: fix build 2023-01-19 11:50:33 +00:00
zsa-udev-rules