nixpkgs/pkgs/os-specific
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
..
bsd netbsd.compat: don't use musl's sys/cdefs.h 2022-01-06 14:22:07 +00:00
darwin spacebar: 1.2.1 -> 1.4.0 2022-08-17 12:11:29 -04:00
linux nixos/hardware/device-tree: make overlays more reliable 2022-08-20 13:34:14 +02:00
solo5 solo5: fix paths detection in compiler and linker wrappers. 2022-08-13 07:45:54 -05:00
windows windows.mingw_w64: enable stripping 2022-07-28 21:55:15 +01:00