bup: use python2
This commit is contained in:
parent
660585b32d
commit
0674ed1b6b
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, fetchurl, makeWrapper
|
{ stdenv, fetchFromGitHub, fetchurl, makeWrapper
|
||||||
, perl, pandoc, pythonPackages, git
|
, perl, pandoc, python2Packages, git
|
||||||
, par2cmdline ? null, par2Support ? false
|
, par2cmdline ? null, par2Support ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -19,7 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1hsxzrjvqa3pd74vmz8agiiwynrzynp1i726h0fzdsakc4adya4l";
|
sha256 = "1hsxzrjvqa3pd74vmz8agiiwynrzynp1i726h0fzdsakc4adya4l";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ git pythonPackages.python ];
|
buildInputs = [ git python2Packages.python ];
|
||||||
nativeBuildInputs = [ pandoc perl makeWrapper ];
|
nativeBuildInputs = [ pandoc perl makeWrapper ];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
|||||||
wrapProgram $out/bin/bup \
|
wrapProgram $out/bin/bup \
|
||||||
--prefix PATH : ${git}/bin \
|
--prefix PATH : ${git}/bin \
|
||||||
--prefix PYTHONPATH : ${concatStringsSep ":" (map (x: "$(toPythonPath ${x})")
|
--prefix PYTHONPATH : ${concatStringsSep ":" (map (x: "$(toPythonPath ${x})")
|
||||||
(with pythonPackages;
|
(with python2Packages;
|
||||||
[ setuptools tornado ]
|
[ setuptools tornado ]
|
||||||
++ stdenv.lib.optionals (!stdenv.isDarwin) [ pyxattr pylibacl fuse ]))}
|
++ stdenv.lib.optionals (!stdenv.isDarwin) [ pyxattr pylibacl fuse ]))}
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user