Commit cfd4aea3 authored by Robert Schütz's avatar Robert Schütz
Browse files

poetry: fix build on x86_64-darwin

The poetry-core patches don't apply to version 1.7.0.
The only dependency of poetry that requires them is deepdiff, so we
disable its tests for now.
parent 364ab129
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -10,6 +10,9 @@ let
      poetry = self.callPackage ./unwrapped.nix { };

      # version overrides required by poetry and its plugins
      deepdiff = super.deepdiff.overridePythonAttrs (old: rec {
        doCheck = false;
      });
      poetry-core = super.poetry-core.overridePythonAttrs (old: rec {
        version = "1.7.0";
        src = fetchFromGitHub {
@@ -18,6 +21,7 @@ let
          rev = version;
          hash = "sha256-OfY2zc+5CgOrgbiPVnvMdT4h1S7Aek8S7iThl6azmsk=";
        };
        patches = [ ];
      });
    } // (plugins self);
  };