bpkg: fix for git v2.38

This commit is contained in:
Ryan Burns 2023-07-15 17:32:06 -07:00
parent dfdbcc428f
commit 33376d8e45

View File

@ -1,5 +1,6 @@
{ lib, stdenv
, build2
, fetchpatch
, fetchurl
, git
, libbpkg
@ -22,6 +23,15 @@ stdenv.mkDerivation rec {
sha256 = "sha256-3F4Pv8YX++cNa6aKhPM67mrt/5oE1IeoZUSmljHqBfI=";
};
patches = [
# Patch git tests for git v2.38+
# Remove when bumping to v0.16.0 or greater
(fetchpatch {
url = "https://github.com/build2/bpkg/commit/a97b12a027546b37f66d3e08064f92f5539cf79.patch";
sha256 = "sha256-x5iJQXt84XyjZYdAmYO4FymSV2vi7nfIoeMOxFm/2eQ=";
})
];
strictDeps = true;
nativeBuildInputs = [
build2