Unverified Commit 5640ff1e authored by Stefan Frijters's avatar Stefan Frijters Committed by GitHub
Browse files

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

parents 4a445c56 123bc613
Loading
Loading
Loading
Loading
+12 −14
Original line number Diff line number Diff line
@@ -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,9 +143,9 @@ let

        dontStrip = true;

        meta =
        __structuredAttrs = true;

          {
        meta = {
          homepage = "https://www.denx.de/wiki/U-Boot/";
          description = "Boot loader for embedded systems";
          license = lib.licenses.gpl2Plus;