aboutsummaryrefslogtreecommitdiff
path: root/package.nix
diff options
context:
space:
mode:
authorRebecca Turner <rbt@sent.as>2024-04-05 11:09:59 -0700
committerRebecca Turner <rbt@sent.as>2024-04-05 11:09:59 -0700
commit5081109592778d6026669db831758b61e5b43c33 (patch)
tree47b5688f33335083854da50168677f3a2efa79a0 /package.nix
parent83d720b7304f6479f48dca8f3062e966f359e9b4 (diff)
Fix Boost with `make` build
This prevents the autotools build from discovering Boost in Homebrew installation directories on macOS. Change-Id: I624309165c9371c391fd657424ba4c4f3182b385
Diffstat (limited to 'package.nix')
-rw-r--r--package.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/package.nix b/package.nix
index ab08add16..39beccc1c 100644
--- a/package.nix
+++ b/package.nix
@@ -240,8 +240,9 @@ in stdenv.mkDerivation (finalAttrs: {
fi
'';
- configureFlags = lib.optionals stdenv.isLinux [
+ configureFlags = [
"--with-boost=${boost}/lib"
+ ] ++ lib.optionals stdenv.isLinux [
"--with-sandbox-shell=${busybox-sandbox-shell}/bin/busybox"
] ++ lib.optionals (stdenv.isLinux && !(stdenv.hostPlatform.isStatic && stdenv.system == "aarch64-linux")) [
"LDFLAGS=-fuse-ld=gold"