git.iko.soy/typeable/nixpkgs
on master help sign in
bup-0.28.1: fix on darwin, upstream released patch removed
commit89cbb88d26c5620bf91bafc00bf77878211c8c40 authorjhhuh <jihaeng.huh@gmail.com> dateSun 9 Oct 2016, 16:54 (10 years ago) parentfd38aea
1 file changed+3−7
pkgs/tools/backup/bup/default.nix+3−7
pkgs/tools/backup/bup/default.nix+3−7
@@ -22,12 +22,6 @@ stdenv.mkDerivation rec {
2222 buildInputs = [ git pythonPackages.python ];
2323 nativeBuildInputs = [ pandoc perl makeWrapper ];
2424
25− patches = optional stdenv.isDarwin (fetchurl {
26− url = "https://github.com/bup/bup/commit/75d089e7cdb7a7eb4d69c352f56dad5ad3aa1f97.diff";
27− sha256 = "05kp47p30a45ip0fg090vijvzc7ijr0alc3y8kjl6bvv3gliails";
28− name = "darwin_10_10.patch";
29− });
30−
3125 postPatch = ''
3226 patchShebangs .
3327 substituteInPlace Makefile --replace "-Werror" ""
@@ -49,7 +43,9 @@ stdenv.mkDerivation rec {
4943 wrapProgram $out/bin/bup \
5044 --prefix PATH : ${git}/bin \
5145 --prefix PYTHONPATH : ${concatStringsSep ":" (map (x: "$(toPythonPath ${x})")
52− (with pythonPackages; [ pyxattr pylibacl setuptools fuse tornado ]))}
46+ (with pythonPackages;
47+ [ setuptools tornado ]
48+ ++ stdenv.lib.optionals (!stdenv.isDarwin) [ pyxattr pylibacl fuse ]))}
5349 '';
5450
5551 meta = {