uboot*: fix build

https://hydra.nixos.org/build/347450920/step/2/log/tail
Thanks to r-burns who investigated the issue and found this solution.
This commit is contained in:
Vladimír Čunát
2026-09-29 07:52:31 +02:00
parent bfbe72724f
commit 3ee1ab335c

View File

@@ -82,6 +82,13 @@ let
'') (builtins.attrNames pythonScriptsToInstall)}
patchShebangs tools
patchShebangs scripts
''
# This warning got removed in
# https://git.kernel.org/pub/scm/utils/dtc/dtc.git/commit/?id=cba90ce82064ad1e6d25f20d8eaa940bd2fc97ed
+ ''
for f in scripts/Makefile.lib dts/upstream/Makefile; do
substituteInPlace "$f" --replace-fail -Wno-graph_child_address ""
done
'';
nativeBuildInputs = [