Merge pull request #2602 from jwiegley/dar

Allow dar to build on Darwin
This commit is contained in:
Austin Seipp 2014-05-17 14:45:04 -05:00
commit 5db4d83c12

View File

@ -8,7 +8,8 @@ stdenv.mkDerivation rec {
sha256 = "0psahvnrkljqg9507dk0vq05w8vilpm98igjrcjkqdirqcfd2py1";
};
buildInputs = [ zlib bzip2 openssl attr lzo libgcrypt e2fsprogs ];
buildInputs = [ zlib bzip2 openssl lzo libgcrypt ]
++ stdenv.lib.optional stdenv.isLinux [ attr e2fsprogs ];
configureFlags = "--disable-dar-static";
@ -16,6 +17,6 @@ stdenv.mkDerivation rec {
homepage = http://dar.linux.free.fr/;
description = "Disk ARchiver, allows backing up files into indexed archives";
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.unix;
};
}