diff options
Diffstat (limited to 'pkgs/development/ocaml-modules/mirage-crypto/pk.nix')
-rw-r--r-- | pkgs/development/ocaml-modules/mirage-crypto/pk.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/ocaml-modules/mirage-crypto/pk.nix b/pkgs/development/ocaml-modules/mirage-crypto/pk.nix index e50838e50bbb8..11f09dfd5161e 100644 --- a/pkgs/development/ocaml-modules/mirage-crypto/pk.nix +++ b/pkgs/development/ocaml-modules/mirage-crypto/pk.nix @@ -1,16 +1,18 @@ { buildDunePackage, ounit2, randomconv, mirage-crypto, mirage-crypto-rng -, cstruct, sexplib0, zarith, eqaf, gmp }: +, cstruct, sexplib0, zarith, eqaf-cstruct, gmp }: buildDunePackage rec { pname = "mirage-crypto-pk"; inherit (mirage-crypto) version src; - duneVersion = "3"; + postPatch = '' + substituteInPlace pk/dune --replace-warn eqaf.cstruct eqaf-cstruct + ''; buildInputs = [ gmp ]; propagatedBuildInputs = [ cstruct mirage-crypto mirage-crypto-rng - zarith eqaf sexplib0 ]; + zarith eqaf-cstruct sexplib0 ]; doCheck = true; checkInputs = [ ounit2 randomconv ]; |