flake: restore binary-dist artifact to Hydra static builds

This commit is contained in:
Cole Helbling 2023-03-02 10:02:55 -08:00
parent ffadc35df1
commit a8d0ff1a11

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 \