From 53c039b96a8c6c31a79fb3b3d7a95f6295dd7164 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Sun, 17 Jul 2016 06:34:31 +0300 Subject: [PATCH] make-bootstrap-tools-cross.nix: Support 'dist' target --- pkgs/stdenv/linux/make-bootstrap-tools-cross.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix b/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix index b688cca1f69..0bc8c64be63 100644 --- a/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix +++ b/pkgs/stdenv/linux/make-bootstrap-tools-cross.nix @@ -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 {