flake: restore binary-dist artifact to Hydra static builds

(cherry picked from commit a8d0ff1a11)
This commit is contained in:
Cole Helbling 2023-03-02 10:02:55 -08:00 committed by github-actions[bot]
parent 7f5e1c8e0a
commit b9b4e2275c

View File

@ -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 \