mirror of
https://github.com/NixOS/nix.git
synced 2025-11-26 04:00:59 +01:00
flake: restore binary-dist artifact to Hydra static builds
(cherry picked from commit a8d0ff1a11)
This commit is contained in:
parent
7f5e1c8e0a
commit
b9b4e2275c
1 changed files with 4 additions and 0 deletions
|
|
@ -361,6 +361,10 @@
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p $doc/nix-support
|
mkdir -p $doc/nix-support
|
||||||
echo "doc manual $doc/share/doc/nix/manual" >> $doc/nix-support/hydra-build-products
|
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 ''
|
${lib.optionalString currentStdenv.isDarwin ''
|
||||||
install_name_tool \
|
install_name_tool \
|
||||||
-change ${boost}/lib/libboost_context.dylib \
|
-change ${boost}/lib/libboost_context.dylib \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue