git.iko.soy/typeable/nixpkgs
on master help sign in
uboot: add hydra-build-products

This allows users to easily download the bootloader for their device without having Nix installed.

commit6a0bb38b276ccd7a31776b4defaa0f3842435567 authorBen Wolsieffer <benwolsieffer@gmail.com> dateSat 11 Jul 2020, 19:37 (6 years ago) parent8d05772
1 file changed+5
pkgs/misc/uboot/default.nix+5
pkgs/misc/uboot/default.nix+5
@@ -83,6 +83,11 @@ let
8383 mkdir -p ${installDir}
8484 cp ${lib.concatStringsSep " " filesToInstall} ${installDir}
8585
86+ mkdir -p "$out/nix-support"
87+ ${lib.concatMapStrings (file: ''
88+ echo "file binary-dist ${installDir}/${builtins.baseNameOf file}" >> "$out/nix-support/hydra-build-products"
89+ '') filesToInstall}
90+
8691 runHook postInstall
8792 '';
8893