mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
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