uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
22
pkgs/development/ocaml-modules/mirage-flow/unix.nix
Normal file
22
pkgs/development/ocaml-modules/mirage-flow/unix.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{ buildDunePackage, fmt, logs, mirage-flow, ocaml_lwt, cstruct
|
||||
, alcotest, mirage-flow-combinators }:
|
||||
|
||||
buildDunePackage {
|
||||
pname = "mirage-flow-unix";
|
||||
|
||||
inherit (mirage-flow) version useDune2 src;
|
||||
|
||||
# Make tests compatible with alcotest 1.4.0
|
||||
postPatch = ''
|
||||
substituteInPlace test/test.ml --replace 'Fmt.kstrf Alcotest.fail' 'Fmt.kstrf (fun s -> Alcotest.fail s)'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [ fmt logs mirage-flow ocaml_lwt cstruct ];
|
||||
|
||||
doCheck = true;
|
||||
checkInputs = [ alcotest mirage-flow-combinators ];
|
||||
|
||||
meta = mirage-flow.meta // {
|
||||
description = "Flow implementations and combinators for MirageOS on Unix";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue