jj-pre-push: fix build with uv_build 0.9.0

This commit is contained in:
Sizhe Zhao
2025-10-08 14:03:51 +08:00
parent 7f562f1d54
commit ca4492361f
+10
View File
@@ -2,6 +2,7 @@
lib,
python3Packages,
fetchFromGitHub,
fetchpatch2,
}:
python3Packages.buildPythonApplication rec {
@@ -16,6 +17,15 @@ python3Packages.buildPythonApplication rec {
hash = "sha256-9HyVWxYmemF/K3ttQ0L1lZF/XFkSeqwli/Mm+FFI8lQ=";
};
patches = [
# https://github.com/acarapetis/jj-pre-push/pull/2
(fetchpatch2 {
name = "uv-build.patch";
url = "https://github.com/Prince213/jj-pre-push/commit/aa2d917ec9560318178fbc1040281228db7b7ec1.patch?full_index=1";
hash = "sha256-uNqOO0yVHShcXxYMPFcPCDM5YlL4IcmpUAfClmDlJ4Q=";
})
];
build-system = [
python3Packages.uv-build
];