From 85ce3805647d12397969d87504493158d726ad1f Mon Sep 17 00:00:00 2001 From: Drew Risinger <drewrisinger@users.noreply.github.com> Date: Mon, 21 Sep 2020 00:06:27 -0400 Subject: [PATCH] terraform-compliance: fix build * Disables lock of pythonPackages.ipython to allow building with what's in nixpkgs --- .../networking/cluster/terraform-compliance/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/networking/cluster/terraform-compliance/default.nix b/pkgs/applications/networking/cluster/terraform-compliance/default.nix index e906f035fda2..6205b3bf5fe5 100644 --- a/pkgs/applications/networking/cluster/terraform-compliance/default.nix +++ b/pkgs/applications/networking/cluster/terraform-compliance/default.nix @@ -27,6 +27,11 @@ buildPythonApplication rec { sha256 = "161mszmxqp3wypnda48ama2mmq8yjilkxahwc1mxjwzy1n19sn7v"; }; + postPatch = '' + substituteInPlace setup.py \ + --replace "IPython==7.16.1" "IPython" + ''; + checkInputs = [ pytestCheckHook ]; disabledTests = [