3
0
Fork 0
forked from mirrors/nixpkgs

svn path=/nixpkgs/trunk/; revision=18209

This commit is contained in:
Rob Vermaas 2009-11-06 14:50:41 +00:00
parent 1b9fe7411c
commit ab8fd754c6

View file

@ -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";
}