diff options
author | Rebecca Turner <rbt@sent.as> | 2024-04-05 11:09:59 -0700 |
---|---|---|
committer | Rebecca Turner <rbt@sent.as> | 2024-04-05 11:09:59 -0700 |
commit | 5081109592778d6026669db831758b61e5b43c33 (patch) | |
tree | 47b5688f33335083854da50168677f3a2efa79a0 | |
parent | 83d720b7304f6479f48dca8f3062e966f359e9b4 (diff) |
Fix Boost with `make` build
This prevents the autotools build from discovering Boost in Homebrew
installation directories on macOS.
Change-Id: I624309165c9371c391fd657424ba4c4f3182b385
-rw-r--r-- | package.nix | 3 |
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" |