uboot: Add makeOverridable for buildUBoot args

This commit is contained in:
Will Fancher 2022-06-13 05:56:10 -04:00
parent e0169d7a9d
commit 208c76560a

View file

@ -25,7 +25,7 @@ let
url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${defaultVersion}.tar.bz2"; url = "ftp://ftp.denx.de/pub/u-boot/u-boot-${defaultVersion}.tar.bz2";
hash = "sha256-gbRUMifbIowD+KG/XdvIE7C7j2VVzkYGTvchpvxoBBM="; hash = "sha256-gbRUMifbIowD+KG/XdvIE7C7j2VVzkYGTvchpvxoBBM=";
}; };
buildUBoot = { buildUBoot = lib.makeOverridable ({
version ? null version ? null
, src ? null , src ? null
, filesToInstall , filesToInstall
@ -114,7 +114,7 @@ let
license = licenses.gpl2; license = licenses.gpl2;
maintainers = with maintainers; [ bartsch dezgeg samueldr lopsided98 ]; maintainers = with maintainers; [ bartsch dezgeg samueldr lopsided98 ];
} // extraMeta; } // extraMeta;
} // removeAttrs args [ "extraMeta" ]); } // removeAttrs args [ "extraMeta" ]));
in { in {
inherit buildUBoot; inherit buildUBoot;