Files

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

38 lines
528 B
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
buildDunePackage,
reason,
}:
buildDunePackage rec {
pname = "helloreason";
version = "0.0.1";
src = lib.fileset.toSource {
root = ./.;
fileset = lib.fileset.unions [
./helloreason.opam
./helloreason.re
./dune-project
./dune
];
};
nativeBuildInputs = [
reason
];
buildInputs = [
reason
];
doCheck = true;
doInstallCheck = true;
postInstallCheck = ''
$out/bin/${pname} | grep -q "Hello From Reason" > /dev/null
'';
meta.timeout = 60;
}