From 8f590f63abdf2336c0f6496bfa187f1331fa0db4 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sat, 21 Aug 2021 16:56:48 +0530 Subject: add ocaml-print-intf to devshell --- flake.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/flake.nix b/flake.nix index e49248a..a87fc90 100644 --- a/flake.nix +++ b/flake.nix @@ -10,10 +10,26 @@ version = "0.0.0"; pkgs = nixpkgs.legacyPackages."${system}"; + ocaml-print-intf = pkgs.ocamlPackages.buildDunePackage rec { + pname = "ocaml-print-intf"; + version = "1.2.0"; + useDune2 = true; + src = pkgs.fetchgit { + url = "https://github.com/avsm/ocaml-print-intf"; + sha256 = "sha256-16LVvyTHew7sYfr4x0WR/jikXq4dy7Yi9yyrHA99hEM="; + }; + propagatedBuildInputs = with pkgs.ocamlPackages; [ + dune-build-info + bos + ]; + }; + + buildInputs = with pkgs.ocamlPackages; [ utop pkgs.nixUnstable pkgs.fswatch + ocaml-print-intf ]; in -- cgit v1.2.3