From d72db74492f07aea67dcff9dac00d74c0cd98e31 Mon Sep 17 00:00:00 2001 From: Brendan Hay Date: Tue, 27 Apr 2021 19:50:16 +0200 Subject: [PATCH] king: ensure lmdb is statically linked on osx By way of ensuring the lmdb package's cabal extra-libraries field is ignored and our lmdb overlay is used. Don't ask. --- nix/pkgs/hs/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/pkgs/hs/default.nix b/nix/pkgs/hs/default.nix index ab30f4c7dc..ea09883ba4 100644 --- a/nix/pkgs/hs/default.nix +++ b/nix/pkgs/hs/default.nix @@ -82,6 +82,8 @@ haskell-nix.stackProject { urbit-king.components.tests.urbit-king-tests.testFlags = [ "--brass-pill=${brass.lfs}" ]; + + lmdb.components.library.libs = lib.mkForce [ lmdb ]; }; }]; }