bup: enable par2 by default

The par2 closure is <300 KB, so having it enabled by default seems
reasonable.
This commit is contained in:
Aristid Breitkreuz 2017-04-07 21:47:03 +02:00
parent be6e9dce32
commit 65be0b3a4b
2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ stdenv, fetchFromGitHub, fetchurl, makeWrapper { stdenv, fetchFromGitHub, fetchurl, makeWrapper
, perl, pandoc, python2Packages, git , perl, pandoc, python2Packages, git
, par2cmdline ? null, par2Support ? false , par2cmdline ? null, par2Support ? true
}: }:
assert par2Support -> par2cmdline != null; assert par2Support -> par2cmdline != null;

View File

@ -1118,9 +1118,7 @@ with pkgs;
inherit (pythonPackages) gyp; inherit (pythonPackages) gyp;
}; };
bup = callPackage ../tools/backup/bup { bup = callPackage ../tools/backup/bup { };
par2Support = config.bup.par2Support or false;
};
burp_1_3 = callPackage ../tools/backup/burp/1.3.48.nix { }; burp_1_3 = callPackage ../tools/backup/burp/1.3.48.nix { };