aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-12-03 18:03:30 -0600
committerMatthew Bauer <mjbauer95@gmail.com>2020-12-03 18:05:18 -0600
commitbe09af80026b751569e7dd6519d1564e10e4f34b (patch)
treedcb4df2bf774ec35a7564f43465954f089377528 /flake.nix
parent6ed09cb8c2c27f30bec1eccb153db80dc5a77520 (diff)
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
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 7311a2471..9addccd63 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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;