forked from mirrors/nixpkgs
Revert "couchdb: revert changes from 0da82de388a5214522262a3885080bad1c02fd1b"
This reverts commit 143650958c
.
This commit is contained in:
parent
be95ee6173
commit
b89c851737
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, erlang, icu, openssl, spidermonkey
|
{ stdenv, fetchurl, erlang, icu, openssl, spidermonkey_68
|
||||||
, coreutils, bash, makeWrapper, python3 }:
|
, coreutils, bash, makeWrapper, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper ];
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
buildInputs = [ erlang icu openssl spidermonkey (python3.withPackages(ps: with ps; [ requests ]))];
|
buildInputs = [ erlang icu openssl spidermonkey_68 (python3.withPackages(ps: with ps; [ requests ]))];
|
||||||
|
|
||||||
patches = [ ./jsapi.patch ];
|
patches = [ ./jsapi.patch ];
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, erlang, icu, openssl, spidermonkey
|
{ stdenv, fetchurl, erlang, icu, openssl, spidermonkey_68
|
||||||
, coreutils, bash, makeWrapper, python3 }:
|
, coreutils, bash, makeWrapper, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -13,9 +13,9 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "1vgqj3zsrkdqgnwzji3mqkapnfd6kq466f5xnya0fvzzl6bcfrs8";
|
sha256 = "1vgqj3zsrkdqgnwzji3mqkapnfd6kq466f5xnya0fvzzl6bcfrs8";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ erlang icu openssl spidermonkey (python3.withPackages(ps: with ps; [ requests ]))];
|
buildInputs = [ erlang icu openssl spidermonkey_68 (python3.withPackages(ps: with ps; [ requests ]))];
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/couch/rebar.config.script --replace '/usr/include/mozjs-68' "${spidermonkey.dev}/include/mozjs-68"
|
substituteInPlace src/couch/rebar.config.script --replace '/usr/include/mozjs-68' "${spidermonkey_68.dev}/include/mozjs-68"
|
||||||
patchShebangs bin/rebar
|
patchShebangs bin/rebar
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, erlang, icu, openssl, spidermonkey, curl, help2man
|
{ stdenv, fetchurl, erlang, icu, openssl, spidermonkey_68, curl, help2man
|
||||||
, sphinx, which, file, pkgconfig, getopt }:
|
, sphinx, which, file, pkgconfig, getopt }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ help2man which file pkgconfig sphinx ];
|
nativeBuildInputs = [ help2man which file pkgconfig sphinx ];
|
||||||
buildInputs = [ erlang icu openssl spidermonkey curl ];
|
buildInputs = [ erlang icu openssl spidermonkey_68 curl ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
substituteInPlace $out/bin/couchdb --replace getopt "${getopt}/bin/getopt"
|
substituteInPlace $out/bin/couchdb --replace getopt "${getopt}/bin/getopt"
|
||||||
|
|
Loading…
Reference in a new issue