Merge pull request #336758 from drupol/mongodb-ce-fix-darwin

mongodb-ce: fix darwin build
This commit is contained in:
Pol Dellaiera 2024-08-23 15:07:35 +02:00 committed by GitHub
commit 2987ca5488
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,8 @@ stdenv.mkDerivation (finalAttrs: {
or (throw "unsupported system: ${stdenv.hostPlatform.system}")
);
nativeBuildInputs = [ autoPatchelfHook ];
nativeBuildInputs = lib.optionals stdenv.isLinux [ autoPatchelfHook ];
dontStrip = true;
buildInputs = [
# This is to avoid the following error: