mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
mongodb-ce: unbreak on darwin
Co-Authored-By: FlameFlag <git@ps1.sh>
(cherry picked from commit 651f3b12fd)
This commit is contained in:
parent
730714dc77
commit
03de371289
1 changed files with 5 additions and 0 deletions
|
|
@ -49,6 +49,11 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
nativeInstallCheckInputs = [ versionCheckHook ];
|
||||
versionCheckProgram = "${placeholder "out"}/bin/mongod";
|
||||
|
||||
# Apple's LibreSSL tries to read this while running `mongod --version`
|
||||
sandboxProfile = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
(allow file-read* (literal "/private/etc/ssl/openssl.cnf"))
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
sources = {
|
||||
"x86_64-linux" = fetchurl {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue