Prior to this commit, dtc was accessing its own derivation
attributes via `rec`. This means that
```
overrideAttrs (_: { doCheck = ..; })
```
will produce inconsistent behavior, with part of the derivation
seeing the old value and part seeing the new value.
finalAttrs is the preferred way to do this. Let's switch to that.
Cross compilation of dtc was broken by the build system change in
280160bd1d.
Currently dtc's configury fails for cross builds unless you disable
the tests at configurePhase-time. Simply not running the test
target is insufficient.
We dropped two simple patches which were changing the version in
meson.build as the "dtc: Fix linker options so it also works in Darwin"
is bigger.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
New upstream release:
Changes since v1.6.0 include:
* A number of bugfixes
* Fix many warnings with -Wsign-compare
* Add compilation with meson (not used by default so far)
* Yet another revamp of how we handle unaligned accesses
* Added a number of extra checks for common tree errors
* Checks for interrupt providers
* i2c reg properties
* Tighten checking of gpio properties
* Reduce dependencies when building libfdt only
* Allow libfdt.h header to be used from C++ more easily
* Accept .dtbo extension for overlays
* Update valid node and property characters to match current devicetree spec
* Add several checks for root node sanity in fdt_check_full()
* Somewhat more robust type labelling for the benefit of yaml output
continuation of #109595
pkgconfig was aliased in 2018, however, it remained in
all-packages.nix due to its wide usage. This cleans
up the remaining references to pkgs.pkgsconfig and
moves the entry to aliases.nix.
python3Packages.pkgconfig remained unchanged because
it's the canonical name of the upstream package
on pypi.