2efd63b87c
Adds 10 Reason Native packages: * reason-native-console * reason-native-dir * reason-native-file-context-printer * reason-native-fp * reason-native-pastel * reason-native-pastel-console * reason-native-qcheck-rely * reason-native-refmterr * reason-native-rely * reason-native-rely-junit-reporter
20 lines
326 B
Nix
20 lines
326 B
Nix
{ lib, buildDunePackage, reason, console }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "console-test";
|
|
version = "1";
|
|
|
|
src = ./.;
|
|
|
|
useDune2 = true;
|
|
|
|
buildInputs = [
|
|
reason
|
|
console
|
|
];
|
|
|
|
doInstallCheck = true;
|
|
postInstallCheck = ''
|
|
$out/bin/console-test | grep -q "{\"Hello fellow Nixer!\"}" > /dev/null
|
|
'';
|
|
}
|