lol

Merge pull request #250587 from stephank/fix/couchdb

couchdb3: fix jiffy NIF on darwin

authored by

Domen Kožar and committed by
GitHub
a505e07f 4c4d5d60

+4
+4
pkgs/servers/http/couchdb/3.nix
··· 22 22 substituteInPlace src/couch/rebar.config.script --replace '/usr/include/mozjs-91' "${spidermonkey_91.dev}/include/mozjs-91" 23 23 substituteInPlace configure --replace '/usr/include/''${SM_HEADERS}' "${spidermonkey_91.dev}/include/mozjs-91" 24 24 patchShebangs bin/rebar 25 + '' + lib.optionalString stdenv.isDarwin '' 26 + # LTO with Clang produces LLVM bitcode, which causes linking to fail quietly. 27 + # (There are warnings, but no hard errors, and it produces an empty dylib.) 28 + substituteInPlace src/jiffy/rebar.config.script --replace '"-flto"' '""' 25 29 ''; 26 30 27 31 nativeBuildInputs = [