mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
ocamlPackages.digestif: fix tests for alcotest ≥ 1.0
This commit is contained in:
parent
36632263e0
commit
fc317e100a
@ -1,4 +1,4 @@
|
||||
{ lib, fetchurl, buildDunePackage
|
||||
{ lib, fetchurl, fetchpatch, buildDunePackage
|
||||
, bigarray-compat, eqaf, stdlib-shims
|
||||
, alcotest
|
||||
}:
|
||||
@ -12,6 +12,12 @@ buildDunePackage rec {
|
||||
sha256 = "09g4zngqiw97cljv8ds4m063wcxz3y7c7vzaprsbpjzi0ja5jdcy";
|
||||
};
|
||||
|
||||
# Fix tests with alcotest ≥ 1
|
||||
patches = [ (fetchpatch {
|
||||
url = "https://github.com/mirage/digestif/commit/b65d996c692d75da0a81323253429e07d14b72b6.patch";
|
||||
sha256 = "0sf7qglcp19dhs65pwrrc7d9v57icf18jsrhpmvwskx8b4dchfiv";
|
||||
})];
|
||||
|
||||
buildInputs = lib.optional doCheck alcotest;
|
||||
propagatedBuildInputs = [ bigarray-compat eqaf stdlib-shims ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user