comby: nixpkgs-fmt

This commit is contained in:
happysalada 2021-09-25 18:04:30 +09:00
parent c92f96b079
commit 2fb9f65c0a

@ -1,5 +1,15 @@
{ ocamlPackages, fetchFromGitHub, lib, zlib, pkg-config, cacert, gmp, libev
, autoconf, sqlite, stdenv }:
{ ocamlPackages
, fetchFromGitHub
, lib
, zlib
, pkg-config
, cacert
, gmp
, libev
, autoconf
, sqlite
, stdenv
}:
let
mkCombyPackage = { pname, extraBuildInputs ? [ ], extraNativeInputs ? [ ] }:
ocamlPackages.buildDunePackage rec {
@ -41,7 +51,8 @@ let
};
combyKernel = mkCombyPackage { pname = "comby-kernel"; };
in mkCombyPackage {
in
mkCombyPackage {
pname = "comby";
extraBuildInputs = [
@ -62,6 +73,7 @@ in mkCombyPackage {
ocamlPackages.lwt_react
ocamlPackages.tls
combyKernel
combySemantic
] ++ (if !stdenv.isAarch32 && !stdenv.isAarch64 then
[ ocamlPackages.hack_parallel ]
else