Trying to fix virtuoso build on freebsd

svn path=/nixpkgs/trunk/; revision=21475
This commit is contained in:
Yury G. Kudryashov 2010-05-01 07:41:40 +00:00
parent 3e1e56e10c
commit 0b11f22f49
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,6 @@
{ stdenv, fetchurl, libxml2, openssl, readline }:
{ stdenv, fetchurl, libxml2, openssl, readline, gawk }:
assert stdenv ? gawk || gawk != null;
stdenv.mkDerivation rec {
name = "virtuoso-opensource-6.1.1";
@ -8,7 +10,8 @@ stdenv.mkDerivation rec {
sha256 = "1sd70j9i26ml16lig9r9lmrdf5q0kybq71r6vzzzc5v5jxjz0l7w";
};
buildInputs = [ libxml2 openssl readline ];
buildInputs = [ libxml2 openssl readline ]
++ stdenv.lib.optional (! stdenv ? gawk) gawk;
CPP="${stdenv.gcc}/bin/gcc -E";

View File

@ -5758,7 +5758,7 @@ let
};
virtuoso = makeOverridable (import ../servers/sql/virtuoso) {
inherit stdenv fetchurl libxml2 openssl readline;
inherit stdenv fetchurl libxml2 openssl readline gawk;
};
vsftpd = import ../servers/ftp/vsftpd {