Merge pull request #166970 from acowley/tarsnap-darwin

This commit is contained in:
Ben Siraphob 2022-04-03 20:33:01 -05:00 committed by GitHub
commit 0745f76cbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";