Skip to content

Commit

Permalink
Merge pull request #7946 from cole-h/restore-static-bin-dist
Browse files Browse the repository at this point in the history
flake: restore binary-dist artifact to Hydra static builds
  • Loading branch information
edolstra authored Mar 3, 2023
2 parents f0908f5 + a8d0ff1 commit 19c1a46
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,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 \
Expand Down

0 comments on commit 19c1a46

Please sign in to comment.