mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-11-13 11:15:37 +01:00
Using `/bin/sh` in udev rules is fine (as it's guaranteed to point to a (bash) shell on NixOS), and actually is better than hardcoding absolute paths, at least in cases where these rules are also added to the (systemd-based) initrd (via boot.initrd.services.udev.rules). To allow this, we need to update the check routine that assembles the list of files needing fixup, to explicitly exclude `/bin/sh` occurences. To do this, we convert the pattern to a PCRE regex (which requires "/" to be escaped), and add `(?!/bin/sh\b)` as a negative lookahead. This subsequently allows udev rules to (start using) `/bin/sh` again, so they'll work in-initrd. |
||
|---|---|---|
| .. | ||
| sane_extra_backends | ||
| acpid.nix | ||
| actkbd.nix | ||
| argonone.nix | ||
| asusd.nix | ||
| auto-cpufreq.nix | ||
| auto-epp.nix | ||
| bluetooth.nix | ||
| bolt.nix | ||
| brltty.nix | ||
| ddccontrol.nix | ||
| fancontrol.nix | ||
| freefall.nix | ||
| fwupd.nix | ||
| hddfancontrol.nix | ||
| illum.nix | ||
| interception-tools.nix | ||
| iptsd.nix | ||
| irqbalance.nix | ||
| joycond.nix | ||
| kanata.nix | ||
| keyd.nix | ||
| lcd.nix | ||
| lirc.nix | ||
| nvidia-optimus.nix | ||
| openrgb.nix | ||
| pcscd.nix | ||
| pommed.nix | ||
| power-profiles-daemon.nix | ||
| rasdaemon.nix | ||
| ratbagd.nix | ||
| sane.nix | ||
| spacenavd.nix | ||
| supergfxd.nix | ||
| tcsd.nix | ||
| thermald.nix | ||
| thinkfan.nix | ||
| throttled.nix | ||
| tlp.nix | ||
| trezord.md | ||
| trezord.nix | ||
| triggerhappy.nix | ||
| tuxedo-rs.nix | ||
| udev.nix | ||
| udisks2.nix | ||
| undervolt.nix | ||
| upower.nix | ||
| usbmuxd.nix | ||
| usbrelayd.nix | ||
| vdr.nix | ||