forked from mirrors/nixpkgs
svn path=/nixpkgs/trunk/; revision=18209
This commit is contained in:
parent
1b9fe7411c
commit
ab8fd754c6
|
@ -1,4 +1,4 @@
|
|||
{stdenv, fetchurl, erlang, spidermonkey, icu}:
|
||||
{stdenv, fetchurl, erlang, spidermonkey, icu, getopt}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "apache-couchdb-0.8.1-incubating";
|
||||
|
@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [erlang spidermonkey icu];
|
||||
|
||||
postInstall = ''
|
||||
sed -i -e "s|\`getopt|\`${getopt}/bin/getopt|" $out/bin/couchdb
|
||||
'';
|
||||
|
||||
configureFlags = "--with-erlang=${erlang}/lib/erlang/usr/include";
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue