only depend on perl on OSX

This commit is contained in:
Allen Short 2012-12-07 09:31:10 -08:00
parent 843b9f332e
commit b90b8f222b

View File

@ -15,7 +15,9 @@ stdenv.mkDerivation rec {
sha256 = "13y7bhjmx4daidvyqjz88yffbswb6rc1khkmiqm896fx3lglkcpr";
};
buildInputs = [ cmake bison ncurses openssl readline zlib perl ];
buildInputs = if stdenv.isDarwin
then [ cmake bison ncurses openssl readline zlib perl ]
else [ cmake bison ncurses openssl readline zlib ];
enableParallelBuilding = true;