nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{ lib, buildDunePackage, reason }:
2
3buildDunePackage rec {
4 pname = "helloreason";
5 version = "0.0.1";
6
7 src = ./.;
8
9 useDune2 = true;
10
11 buildInputs = [
12 reason
13 ];
14
15 doCheck = true;
16
17 doInstallCheck = true;
18 postInstallCheck = ''
19 $out/bin/${pname} | grep -q "Hello From Reason" > /dev/null
20 '';
21
22 meta.timeout = 60;
23}