From 143650958ca66962d5fb8a99239fa31cc3606be1 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 9 Oct 2020 20:50:43 +0200 Subject: [PATCH] couchdb: revert changes from 0da82de388a5214522262a3885080bad1c02fd1b These changes break evaluation and they frankly don't look correct here. --- pkgs/servers/http/couchdb/2.0.0.nix | 4 ++-- pkgs/servers/http/couchdb/3.nix | 6 +++--- pkgs/servers/http/couchdb/default.nix | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pkgs/servers/http/couchdb/2.0.0.nix b/pkgs/servers/http/couchdb/2.0.0.nix index 8396e3511ec4..3f6f00e1bdbf 100644 --- a/pkgs/servers/http/couchdb/2.0.0.nix +++ b/pkgs/servers/http/couchdb/2.0.0.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, erlang, icu, openssl, spidermonkey_68 +{ stdenv, fetchurl, erlang, icu, openssl, spidermonkey , coreutils, bash, makeWrapper, python3 }: stdenv.mkDerivation rec { @@ -14,7 +14,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ makeWrapper ]; - buildInputs = [ erlang icu openssl spidermonkey_68 (python3.withPackages(ps: with ps; [ requests ]))]; + buildInputs = [ erlang icu openssl spidermonkey (python3.withPackages(ps: with ps; [ requests ]))]; patches = [ ./jsapi.patch ]; postPatch = '' diff --git a/pkgs/servers/http/couchdb/3.nix b/pkgs/servers/http/couchdb/3.nix index 18271e82a8f9..3716afae4906 100644 --- a/pkgs/servers/http/couchdb/3.nix +++ b/pkgs/servers/http/couchdb/3.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, erlang, icu, openssl, spidermonkey_68 +{ stdenv, fetchurl, erlang, icu, openssl, spidermonkey , coreutils, bash, makeWrapper, python3 }: stdenv.mkDerivation rec { @@ -13,9 +13,9 @@ stdenv.mkDerivation rec { sha256 = "1vgqj3zsrkdqgnwzji3mqkapnfd6kq466f5xnya0fvzzl6bcfrs8"; }; - buildInputs = [ erlang icu openssl spidermonkey_68 (python3.withPackages(ps: with ps; [ requests ]))]; + buildInputs = [ erlang icu openssl spidermonkey (python3.withPackages(ps: with ps; [ requests ]))]; postPatch = '' - substituteInPlace src/couch/rebar.config.script --replace '/usr/include/mozjs-68' "${spidermonkey_68.dev}/include/mozjs-68" + substituteInPlace src/couch/rebar.config.script --replace '/usr/include/mozjs-68' "${spidermonkey.dev}/include/mozjs-68" patchShebangs bin/rebar ''; diff --git a/pkgs/servers/http/couchdb/default.nix b/pkgs/servers/http/couchdb/default.nix index 07f353e87493..b8807532181a 100644 --- a/pkgs/servers/http/couchdb/default.nix +++ b/pkgs/servers/http/couchdb/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, erlang, icu, openssl, spidermonkey_68, curl, help2man +{ stdenv, fetchurl, erlang, icu, openssl, spidermonkey, curl, help2man , sphinx, which, file, pkgconfig, getopt }: stdenv.mkDerivation rec { @@ -11,7 +11,7 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ help2man which file pkgconfig sphinx ]; - buildInputs = [ erlang icu openssl spidermonkey_68 curl ]; + buildInputs = [ erlang icu openssl spidermonkey curl ]; postInstall = '' substituteInPlace $out/bin/couchdb --replace getopt "${getopt}/bin/getopt"