Include static "nix" binary in Hydra build products

This allows users to get Nix from Hydra via a stable url like
https://hydra.nixos.org/build/132078238/download/1/nix
This commit is contained in:
Matthew Bauer 2020-12-03 18:03:30 -06:00
parent 6ed09cb8c2
commit be09af8002

View file

@ -466,6 +466,8 @@
postInstall = ''
mkdir -p $doc/nix-support
echo "doc manual $doc/share/doc/nix/manual" >> $doc/nix-support/hydra-build-products
mkdir -p $out/nix-support
echo "file binary-dist $out/bin/nix" >> $out/nix-support/hydra-build-products
'';
doInstallCheck = true;