about summary refs log tree commit diff
path: root/pkgs/misc/uboot
diff options
context:
space:
mode:
authorSamuel Dionne-Riel <samuel@dionne-riel.com>2021-06-28 15:13:37 -0400
committerGitHub <noreply@github.com>2021-06-28 15:13:37 -0400
commit03344a15e070aeb7f2be7bf620bed1cc630b89c1 (patch)
tree23f9b1c3ef2e2f366d1faace535aa82ab5061b5c /pkgs/misc/uboot
parentf1413d34e9fb60d5f93ae737ed5c41365e59e441 (diff)
parent6a0bb38b276ccd7a31776b4defaa0f3842435567 (diff)
Merge pull request #92969 from lopsided98/uboot-hydra-build-products
uboot: add hydra-build-products
Diffstat (limited to 'pkgs/misc/uboot')
-rw-r--r--pkgs/misc/uboot/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix
index cd401907125ba..3d7e9e48eb357 100644
--- a/pkgs/misc/uboot/default.nix
+++ b/pkgs/misc/uboot/default.nix
@@ -88,6 +88,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
     '';