mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
ginkgo: add Go 1.26 compatibility patch (#503297)
This commit is contained in:
commit
6fabd0a8fc
1 changed files with 9 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
lib,
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
testers,
|
||||
ginkgo,
|
||||
}:
|
||||
|
|
@ -18,6 +19,14 @@ buildGoModule (finalAttrs: {
|
|||
};
|
||||
vendorHash = "sha256-I3n1FPINb/nhi4QUzRFEspn7REN1dQEPg8Bhb3PemQU=";
|
||||
|
||||
patches = [
|
||||
# Add ArtifactDir() to support Go 1.26 testing.TB interface
|
||||
# https://github.com/onsi/ginkgo/pull/1648
|
||||
(fetchpatch {
|
||||
url = "https://github.com/onsi/ginkgo/pull/1648.patch";
|
||||
hash = "sha256-O8YWPAvf0ukPWSTm6+YKnV/L+qSL0RCoBswmiQVXOKI=";
|
||||
})
|
||||
];
|
||||
# integration tests expect more file changes
|
||||
# types tests are missing CodeLocation
|
||||
excludedPackages = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue