diff options
-rw-r--r-- | release.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/release.nix b/release.nix index beb8b5aa97c5..f9ee07e34781 100644 --- a/release.nix +++ b/release.nix @@ -67,6 +67,14 @@ let buildInputs = buildDeps; + preConfigure = + # Copy libboost_context so we don't get all of Boost in our closure. + # https://github.com/NixOS/nixpkgs/issues/45462 + '' + mkdir -p $out/lib + cp ${boost}/lib/libboost_context* $out/lib + ''; + configureFlags = configureFlags ++ [ "--sysconfdir=/etc" ]; |