git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #92969 from lopsided98/uboot-hydra-build-products

uboot: add hydra-build-products

commit03344a15e070aeb7f2be7bf620bed1cc630b89c1 authorSamuel Dionne-Riel <samuel@dionne-riel.com> dateMon 28 Jun 2021, 15:13 (5 years ago) parentf1413d36a0bb38
1 file changed+5
pkgs/misc/uboot/default.nix+5
pkgs/misc/uboot/default.nix+5
@@ -88,6 +88,11 @@ let
8888 mkdir -p ${installDir}
8989 cp ${lib.concatStringsSep " " filesToInstall} ${installDir}
9090
91+ mkdir -p "$out/nix-support"
92+ ${lib.concatMapStrings (file: ''
93+ echo "file binary-dist ${installDir}/${builtins.baseNameOf file}" >> "$out/nix-support/hydra-build-products"
94+ '') filesToInstall}
95+
9196 runHook postInstall
9297 '';
9398