ddar: explicitly use python2

This commit is contained in:
Robert Schütz 2018-08-06 09:28:20 +02:00
parent c6a4f9af60
commit 3b490c653c
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ lib, buildPythonApplication, fetchFromGitHub, protobuf, roundup }:
{ lib, python2, fetchFromGitHub, roundup }:
buildPythonApplication rec {
python2.pkgs.buildPythonApplication rec {
pname = "ddar";
version = "1.0";
@ -23,7 +23,7 @@ buildPythonApplication rec {
make -f Makefile.prep synctus/ddar_pb2.py
'';
propagatedBuildInputs = [ protobuf ];
propagatedBuildInputs = with python2.pkgs; [ protobuf ];
checkInputs = [ roundup ];

View File

@ -1147,7 +1147,7 @@ with pkgs;
dateutils = callPackage ../tools/misc/dateutils { };
ddar = pythonPackages.callPackage ../tools/backup/ddar { };
ddar = callPackage ../tools/backup/ddar { };
ddate = callPackage ../tools/misc/ddate { };