Skip to content

Commit

Permalink
circus: override python package set to use tornado_4
Browse files Browse the repository at this point in the history
  • Loading branch information
FRidh committed Aug 29, 2020
1 parent 31643e4 commit 5b907a4
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions pkgs/tools/networking/circus/default.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
{ stdenv, python3Packages }:
{ stdenv, python3 }:

let
inherit (python3Packages) buildPythonApplication fetchPypi iowait psutil pyzmq tornado_4 mock;
python = python3.override {
self = python;
packageOverrides = self: super: {
tornado = tornado_4;
};
};

inherit (python.pkgs) buildPythonApplication fetchPypi iowait psutil pyzmq tornado_4 mock six;
in

buildPythonApplication rec {
Expand All @@ -23,7 +30,7 @@ buildPythonApplication rec {

doCheck = false; # weird error

propagatedBuildInputs = [ iowait psutil pyzmq tornado_4 ];
propagatedBuildInputs = [ iowait psutil pyzmq tornado six ];

meta = with stdenv.lib; {
description = "A process and socket manager";
Expand Down

0 comments on commit 5b907a4

Please sign in to comment.