uboot: add hydra-build-products

This allows users to easily download the bootloader for their device without
having Nix installed.
launchpad/nixpkgs/master
Ben Wolsieffer 4 years ago
parent 8d05772134
commit 6a0bb38b27
  1. 5
      pkgs/misc/uboot/default.nix

@ -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…
Cancel
Save