summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-08-21 12:26:48 +0100
committerAkshay <[email protected]>2021-08-21 12:26:48 +0100
commit8f590f63abdf2336c0f6496bfa187f1331fa0db4 (patch)
treecbf27b05222aa2f4c46978802e72f726ecb1805f
parent904e52663bcc2953fdac8706752e928f5ed0cecd (diff)
add ocaml-print-intf to devshell
-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