1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

btrbk: clean up build inputs

This commit is contained in:
Tad Fisher 2018-04-09 13:57:42 -07:00
parent 759e66f63d
commit d031891c6b
2 changed files with 7 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{ stdenv, fetchurl, coreutils, bash, btrfs-progs, openssh, perl, perlPackages
, utillinux, asciidoc-full, makeWrapper }:
, utillinux, asciidoc, makeWrapper }:
stdenv.mkDerivation rec {
name = "btrbk-${version}";
@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
sha256 = "04ahfm52vcf1w0c2km0wdgj2jpffp45bpawczmygcg8fdcm021lp";
};
buildInputs = with perlPackages; [ asciidoc-full makeWrapper perl DateCalc ];
nativeBuildInputs = [ asciidoc makeWrapper ];
buildInputs = with perlPackages; [ perl DateCalc ];
preInstall = ''
for f in $(find . -name Makefile); do

View file

@ -886,7 +886,9 @@ with pkgs;
btrfs-dedupe = callPackage ../tools/filesystems/btrfs-dedupe/default.nix {};
btrbk = callPackage ../tools/backup/btrbk { };
btrbk = callPackage ../tools/backup/btrbk {
asciidoc = asciidoc-full;
};
buildtorrent = callPackage ../tools/misc/buildtorrent { };