make-bootstrap-tools-cross.nix: Support 'dist' target

This commit is contained in:
Tuomas Tynkkynen 2016-07-17 06:34:31 +03:00 committed by Tuomas Tynkkynen
parent 5cbb6ac151
commit 53c039b96a

View File

@ -247,6 +247,15 @@ rec {
allowedReferences = [];
};
dist = stdenv.mkDerivation {
name = "stdenv-bootstrap-tools-cross";
buildCommand = ''
mkdir -p $out/nix-support
echo "file tarball ${build}/on-server/bootstrap-tools.tar.xz" >> $out/nix-support/hydra-build-products
echo "file busybox ${build}/on-server/busybox" >> $out/nix-support/hydra-build-products
'';
};
}
); in {