Merge pull request #22481 from kirelagin/tarsnap-macos

tarsnap: fix darwin  build
This commit is contained in:
Daiderd Jordan 2017-02-06 21:01:40 +01:00 committed by GitHub
commit 8c97854eb1

View File

@ -29,13 +29,13 @@ stdenv.mkDerivation rec {
install -m 444 -D ${zshCompletion} $out/share/zsh/site-functions/_tarsnap install -m 444 -D ${zshCompletion} $out/share/zsh/site-functions/_tarsnap
''; '';
buildInputs = [ openssl zlib e2fsprogs ]; buildInputs = [ openssl zlib ] ++ stdenv.lib.optional stdenv.isLinux e2fsprogs ;
meta = { meta = {
description = "Online backups for the truly paranoid"; description = "Online backups for the truly paranoid";
homepage = "http://www.tarsnap.com/"; homepage = "http://www.tarsnap.com/";
license = "tarsnap"; license = "tarsnap";
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.unix;
maintainers = with stdenv.lib.maintainers; [ thoughtpolice roconnor ]; maintainers = with stdenv.lib.maintainers; [ thoughtpolice roconnor ];
}; };
} }