From 3ee1ab335ce44a7e9569971d50eb39710f501eb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Tue, 29 Sep 2026 07:52:31 +0200 Subject: [PATCH] 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. --- pkgs/misc/uboot/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index 95d589220a20..ae9dcb727dd4 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -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 = [