Merge pull request #166970 from acowley/tarsnap-darwin
This commit is contained in:
commit
0745f76cbf
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, openssl, zlib, e2fsprogs, bash }:
|
{ lib, stdenv, fetchurl, openssl, zlib, e2fsprogs, bash, bzip2 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
zshCompletion = fetchurl {
|
zshCompletion = fetchurl {
|
||||||
|
@ -31,7 +31,8 @@ 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 ] ++ lib.optional stdenv.isLinux e2fsprogs ;
|
buildInputs = [ openssl zlib ] ++ lib.optional stdenv.isLinux e2fsprogs
|
||||||
|
++ lib.optional stdenv.isDarwin bzip2;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Online backups for the truly paranoid";
|
description = "Online backups for the truly paranoid";
|
||||||
|
|
Loading…
Reference in a new issue