Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

32 lines
557 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
buildDunePackage,
trace,
mtime,
}:
buildDunePackage {
pname = "trace-tef";
inherit (trace) src version;
# This removes the dependency on the “atomic” package
# (not available in nixpkgs)
# Said package for OCaml ≥ 4.12 is empty
postPatch = ''
substituteInPlace src/tef/dune --replace 'atomic ' ""
'';
minimalOCamlVersion = "4.12";
propagatedBuildInputs = [
mtime
trace
];
doCheck = true;
meta = trace.meta // {
description = "Simple backend for trace, emitting Catapult JSON into a file";
};
}