aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2023-03-03 10:23:17 +0100
committerGitHub <noreply@github.com>2023-03-03 10:23:17 +0100
commit19c1a4699b2a19e38c9d3953e75c029b4faee2ce (patch)
tree8a32cadd92f13ccf007a67b457d3166f76100104 /flake.nix
parentf0908f592cd9d464368339618ffce952a532b3ec (diff)
parenta8d0ff1a1148de4b56269c0c017e5fb64ebe4023 (diff)
Merge pull request #7946 from cole-h/restore-static-bin-dist
flake: restore binary-dist artifact to Hydra static builds
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index 5e0504a59..36727b224 100644
--- a/flake.nix
+++ b/flake.nix
@@ -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 \