Commit b72b3fc0 authored by Astro's avatar Astro
Browse files

nix: move creation of hydra-build-products to hydra/l0dables.nix

parent c7eabb7f
Pipeline #3898 passed with stage
in 10 minutes and 11 seconds
......@@ -44,9 +44,6 @@ let
cp $f $out/apps/$(basename $f).elf
fi
done
mkdir -p $out/nix-support
echo file binary-dist $out/apps/*.elf >> $out/nix-support/hydra-build-products
'';
};
in {
......
......@@ -13,6 +13,14 @@ let
inherit pkgs mozillaOverlay;
firmwareSrc = <firmware>;
};
l0dables = project.l0dables.overrideAttrs (oldAttrs: {
installPhase = ''
${oldAttrs.installPhase}
mkdir -p $out/nix-support
echo file binary-dist $out/apps/*.elf >> $out/nix-support/hydra-build-products
'';
});
in {
l0dables = pkgs.lib.hydraJob project.l0dables;
l0dables = pkgs.lib.hydraJob l0dables;
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment