Unverified Commit 1d3104f7 authored by Hythera's avatar Hythera
Browse files

python3Packages.pywinbox: unbreak on darwin

parent b22e919f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -36,6 +36,12 @@ buildPythonPackage (finalAttrs: {
    pyobjc-framework-Cocoa
  ];

  # It's called pyobjc-core instead of pyobjc in nixpkgs.
  postPatch = lib.optionalString stdenv.hostPlatform.isDarwin ''
    substituteInPlace setup.py \
      --replace-fail 'pyobjc' 'pyobjc-core'
  '';

  # requires x session (use ewmhlib)
  pythonImportsCheck = [ ];
  doCheck = false;