Unverified Commit 3079879e authored by Nick Cao's avatar Nick Cao Committed by GitHub
Browse files

python313Packages.scikit-build-core: clean up rebuild avoidance (#492086)

parents f9e91a9e 254a0a2a
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch,
@@ -39,8 +38,7 @@ buildPythonPackage (finalAttrs: {
    hash = "sha256-zBTDacTkeclz+/X0SUl1xkxLz4zsfeLOD4Ew0V1Y1iU=";
  };

  # TODO: Rebuild avoidance; clean up on `staging`.
  ${if stdenv.hostPlatform.isDarwin then "patches" else null} = [
  patches = [
    # Backport an upstream commit to fix the tests on Darwin.
    (fetchpatch {
      url = "https://github.com/scikit-build/scikit-build-core/commit/c30f52a3b2bd01dc05f23d3b89332c213006afe0.patch";