ocamlPackages.topkg: refactoring

This commit is contained in:
Vincent Laporte
2017-12-14 07:36:29 +00:00
parent 9b6ef35b2c
commit 5e4edcc4ec
36 changed files with 93 additions and 161 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, xmlm, topkg }:
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, xmlm, topkg }:
let
pname = "uucd";
@@ -13,9 +13,7 @@ stdenv.mkDerivation rec {
sha256 = "0cdyg6vaic4n58w80qriwvaq1c40ng3fh74ilxrwajbq163k055q";
};
buildInputs = [ ocaml findlib ocamlbuild opam topkg ];
createFindlibDestdir = true;
buildInputs = [ ocaml findlib ocamlbuild topkg ];
unpackCmd = "tar xjf $src";