Unverified Commit da60230b authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

python3Packages.pywinbox: unbreak on darwin (#511728)

parents 0260362c 1d3104f7
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;