uboot: add hydra-build-products
This allows users to easily download the bootloader for their device without having Nix installed.
This commit is contained in:
parent
8d05772134
commit
6a0bb38b27
@ -83,6 +83,11 @@ let
|
||||
mkdir -p ${installDir}
|
||||
cp ${lib.concatStringsSep " " filesToInstall} ${installDir}
|
||||
|
||||
mkdir -p "$out/nix-support"
|
||||
${lib.concatMapStrings (file: ''
|
||||
echo "file binary-dist ${installDir}/${builtins.baseNameOf file}" >> "$out/nix-support/hydra-build-products"
|
||||
'') filesToInstall}
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user