uboot*: use structuredAttrs instead of passAsFile (#515673)

This commit is contained in:
Stefan Frijters
2026-05-04 10:22:30 +00:00
committed by GitHub
+11 -13
View File
@@ -115,14 +115,12 @@ let
]
++ extraMakeFlags;
passAsFile = [ "extraConfig" ];
configurePhase = ''
runHook preConfigure
make -j$NIX_BUILD_CORES ${defconfig}
cat $extraConfigPath >> .config
printf "%s" "$extraConfig" >> .config
runHook postConfigure
'';
@@ -145,17 +143,17 @@ let
dontStrip = true;
meta =
__structuredAttrs = true;
{
homepage = "https://www.denx.de/wiki/U-Boot/";
description = "Boot loader for embedded systems";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [
lopsided98
];
}
// extraMeta;
meta = {
homepage = "https://www.denx.de/wiki/U-Boot/";
description = "Boot loader for embedded systems";
license = lib.licenses.gpl2Plus;
maintainers = with lib.maintainers; [
lopsided98
];
}
// extraMeta;
}
// removeAttrs args [
"extraMeta"