diff --git a/pkgs/tools/backup/tarsnap/default.nix b/pkgs/tools/backup/tarsnap/default.nix index e55823e59ae4..69c2869ae2b2 100644 --- a/pkgs/tools/backup/tarsnap/default.nix +++ b/pkgs/tools/backup/tarsnap/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchurl, openssl, zlib, e2fsprogs, bash }: +{ lib, stdenv, fetchurl, openssl, zlib, e2fsprogs, bash, bzip2 }: let zshCompletion = fetchurl { @@ -31,7 +31,8 @@ stdenv.mkDerivation rec { install -m 444 -D ${zshCompletion} $out/share/zsh/site-functions/_tarsnap ''; - buildInputs = [ openssl zlib ] ++ lib.optional stdenv.isLinux e2fsprogs ; + buildInputs = [ openssl zlib ] ++ lib.optional stdenv.isLinux e2fsprogs + ++ lib.optional stdenv.isDarwin bzip2; meta = { description = "Online backups for the truly paranoid";