mongodb-ce: fix darwin build

This commit is contained in:
Pol Dellaiera 2024-08-23 14:02:03 +02:00
parent 8227d33e64
commit 4b0b32e5f5
No known key found for this signature in database
GPG Key ID: D476DFE9C67467CA

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: