cygwin libarchive

This commit is contained in:
Florian Friesdorf 2014-10-29 23:45:15 +01:00 committed by Rok Garbas
parent 90a97d32df
commit d6c4963bcb

View File

@ -19,6 +19,10 @@ stdenv.mkDerivation rec {
buildInputs = [ sharutils libxml2 zlib bzip2 openssl xz ] ++
stdenv.lib.optionals stdenv.isLinux [ e2fsprogs attr acl ];
preBuild = if stdenv.isCygwin then ''
echo "#include <windows.h>" >> config.h
'' else null;
meta = {
description = "Multi-format archive and compression library";
longDescription = ''