nixpkgs/nixos
rnhmjoj 916ca8f2b0
nixos/hardware/device-tree: make overlays more reliable
This make the process of applying overlays more reliable by:

1. Ignoring dtb files that are not really device trees. [^1]

2. Adding a `filter` option (per-overlay, there already is a global one)
   to limit the files to which the overlay applies. This is useful
   in cases where the `compatible` string is ambiguous and multiple
   unrelated files match.

Previously the script would fail in both cases.

[^1]: For example, there is dtbs/overlays/overlay_map.dtb in the
      Raspberry Pi 1 kernel.
2022-08-20 13:34:14 +02:00
..
doc nixos/patroni: init 2022-08-16 18:57:15 +02:00
lib python310Packages.mistune: 0.8.4 -> 2.0.4 2022-08-15 06:53:01 +00:00
maintainers use consistently user alice for examples 2022-08-05 13:13:24 +02:00
modules nixos/hardware/device-tree: make overlays more reliable 2022-08-20 13:34:14 +02:00
tests nixos/test: Remove workaround for broken nscd 2022-08-16 21:22:49 +02:00
COPYING
default.nix
README
release-combined.nix treewide: remove myself as maintainer from some pkgs 2022-08-03 14:17:51 +02:00
release-small.nix
release.nix

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
https://nixos.org/nixos and in the manual in doc/manual.