better syntax thanks to aszlig

This commit is contained in:
Allen Short 2012-12-07 09:36:31 -08:00
parent b90b8f222b
commit c6bf1f87f7

View File

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