summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix16
1 files changed, 16 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index e49248a..a87fc90 100644
--- a/flake.nix
+++ b/flake.nix
@@ -10,10 +10,26 @@
10 version = "0.0.0"; 10 version = "0.0.0";
11 pkgs = nixpkgs.legacyPackages."${system}"; 11 pkgs = nixpkgs.legacyPackages."${system}";
12 12
13 ocaml-print-intf = pkgs.ocamlPackages.buildDunePackage rec {
14 pname = "ocaml-print-intf";
15 version = "1.2.0";
16 useDune2 = true;
17 src = pkgs.fetchgit {
18 url = "https://github.com/avsm/ocaml-print-intf";
19 sha256 = "sha256-16LVvyTHew7sYfr4x0WR/jikXq4dy7Yi9yyrHA99hEM=";
20 };
21 propagatedBuildInputs = with pkgs.ocamlPackages; [
22 dune-build-info
23 bos
24 ];
25 };
26
27
13 buildInputs = with pkgs.ocamlPackages; [ 28 buildInputs = with pkgs.ocamlPackages; [
14 utop 29 utop
15 pkgs.nixUnstable 30 pkgs.nixUnstable
16 pkgs.fswatch 31 pkgs.fswatch
32 ocaml-print-intf
17 ]; 33 ];
18 34
19 in 35 in