From 131e9f59e825aa3f1100619191a64d1e147ec263 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Mon, 9 Jul 2018 17:15:33 +0000 Subject: [PATCH] ocamlPackages.ppx_tools_versioned: remove spurious dependency to camlp4 --- .../ocaml-modules/ppx_tools_versioned/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/development/ocaml-modules/ppx_tools_versioned/default.nix b/pkgs/development/ocaml-modules/ppx_tools_versioned/default.nix index 5d27dc35396c..363b774aaeba 100644 --- a/pkgs/development/ocaml-modules/ppx_tools_versioned/default.nix +++ b/pkgs/development/ocaml-modules/ppx_tools_versioned/default.nix @@ -1,11 +1,9 @@ -{ stdenv, buildOcaml, fetchFromGitHub, ocaml-migrate-parsetree }: +{ stdenv, fetchFromGitHub, ocaml, findlib, ocaml-migrate-parsetree }: -buildOcaml rec { - name = "ppx_tools_versioned"; +stdenv.mkDerivation rec { + name = "ocaml${ocaml.version}-ppx_tools_versioned-${version}"; version = "5.1"; - minimumSupportedOcamlVersion = "4.02"; - src = fetchFromGitHub { owner = "let-def"; repo = "ppx_tools_versioned"; @@ -13,6 +11,8 @@ buildOcaml rec { sha256 = "1c7kvca67qpyr4hiy492yik5x31lmkhyhy5wpl0l0fbx7fr7l624"; }; + buildInputs = [ ocaml findlib ]; + propagatedBuildInputs = [ ocaml-migrate-parsetree ]; createFindlibDestdir = true;