From a8d0ff1a1148de4b56269c0c017e5fb64ebe4023 Mon Sep 17 00:00:00 2001 From: Cole Helbling Date: Thu, 2 Mar 2023 10:02:55 -0800 Subject: [PATCH] flake: restore binary-dist artifact to Hydra static builds --- flake.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/flake.nix b/flake.nix index 563a46d65..f9c04334c 100644 --- a/flake.nix +++ b/flake.nix @@ -361,6 +361,10 @@ postInstall = '' mkdir -p $doc/nix-support echo "doc manual $doc/share/doc/nix/manual" >> $doc/nix-support/hydra-build-products + ${lib.optionalString currentStdenv.hostPlatform.isStatic '' + mkdir -p $out/nix-support + echo "file binary-dist $out/bin/nix" >> $out/nix-support/hydra-build-products + ''} ${lib.optionalString currentStdenv.isDarwin '' install_name_tool \ -change ${boost}/lib/libboost_context.dylib \