git.iko.soy/typeable/nixpkgs
on master help sign in
python.pkgs.objgraph: fix build

Fixes https://github.com/NixOS/nixpkgs/issues/52518.

commit407f9ba5c9ec325c43fb466e9e51cab9e1713eaf authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de> dateWed 19 Dec 2018, 14:13 (8 years ago) parent6972c43
1 file changed+5−2
pkgs/development/python-modules/objgraph/default.nix+5−2
pkgs/development/python-modules/objgraph/default.nix+5−2
@@ -1,8 +1,9 @@
11{ stdenv
22, buildPythonPackage
33, fetchPypi
4−, pkgs
54, isPyPy
5+, graphviz
6+, mock
67}:
78
89buildPythonPackage rec {
@@ -17,7 +18,9 @@ buildPythonPackage rec {
1718 # Tests fail with PyPy.
1819 disabled = isPyPy;
1920
20− propagatedBuildInputs = [pkgs.graphviz];
21+ propagatedBuildInputs = [ graphviz ];
22+
23+ checkInputs = [ mock ];
2124
2225 meta = with stdenv.lib; {
2326 description = "Draws Python object reference graphs with graphviz";